Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
olapy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
olapy
Commits
e6180360
Commit
e6180360
authored
Jun 15, 2017
by
mouadh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove nan values
parent
bdf28b68
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
olapy/core/services/xmla_execute_tools.py
olapy/core/services/xmla_execute_tools.py
+3
-1
No files found.
olapy/core/services/xmla_execute_tools.py
View file @
e6180360
...
...
@@ -3,6 +3,8 @@ from __future__ import absolute_import, division, print_function
import
itertools
from
collections
import
OrderedDict
import
numpy
as
np
class
XmlaExecuteTools
():
"""XmlaExecuteTools for generating xmla execute responses."""
...
...
@@ -330,7 +332,7 @@ class XmlaExecuteTools():
cell_data
=
""
index
=
0
for
value
in
columns_loop
:
if
value
==
-
1
:
if
np
.
isnan
(
value
)
:
value
=
''
cell_data
+=
"""
<Cell CellOrdinal="{0}">
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment