I\'m trying to read in a dataframe created via df.to_json() via pd.read_json but I\'m getting a ValueError. I think it may have to do
df.to_json()
pd.read_json
ValueError
This is not implemented ATM, see the issue here: https://github.com/pydata/pandas/issues/4889.
You can simply reset the index first, e.g
df.reset_index().to_json(...)
and it will work.