Skip to content
Snippets Groups Projects
Commit 80c7835f authored by Gregory Ashton's avatar Gregory Ashton
Browse files

Fix bug in result

parent da83283a
No related branches found
No related tags found
No related merge requests found
......@@ -64,6 +64,8 @@ class Result(dict):
def _decode_object(self, item):
""" When reading in data, ensure all bytes are decoded to strings """
if type(item) == pd.DataFrame:
return item
try:
return item.decode()
except AttributeError:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment