We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9c2154 commit 1ced9e2Copy full SHA for 1ced9e2
deepcave/utils/compression.py
@@ -65,7 +65,6 @@ def serialize(data: Union[Dict, List, pd.DataFrame]) -> str:
65
str
66
The serialized object as a JSON formatted string.
67
"""
68
-
69
if isinstance(data, pd.DataFrame):
70
# TODO(dwoiwode): Why not just data.to_json()? Or at least make json smaller in dumps
71
return json.dumps(json.loads(data.to_json()), separators=JSON_DENSE_SEPARATORS)
0 commit comments