You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pandas will dump MultiIndex dataframes as invalid JSON in 0.16.0. For example this dataframe:
0
a c 1
b d 2
Will dump as: {"0":{"["a","c"]":1,"["b","d"]":2}}. You can see that the keys aren't escaping their double quote character and this isn't readable as JSON.
The following snippet illustrates how to recreate this:
Pandas will dump MultiIndex dataframes as invalid JSON in 0.16.0. For example this dataframe:
Will dump as:
{"0":{"["a","c"]":1,"["b","d"]":2}}
. You can see that the keys aren't escaping their double quote character and this isn't readable as JSON.The following snippet illustrates how to recreate this:
My pandas versions:
The text was updated successfully, but these errors were encountered: