Commit d3b743ad authored by Jérome Perrin's avatar Jérome Perrin

execute: use xsd:int for cell value type

because webpivottable only understand this
parent 47a840aa
......@@ -341,9 +341,10 @@ class XmlaExecuteTools():
for value in columns_loop:
if np.isnan(value):
value = ''
# FIXME: Support different value types ( float )
cell_data += """
<Cell CellOrdinal="{0}">
<Value xsi:type="xsi:long">{1}</Value>
<Value xsi:type="xsd:int">{1}</Value>
</Cell>
""".format(index, value)
index += 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment