mverleg / pyjson_tricks

Extra features for Python's JSON: comments, order, numpy, pandas, datetimes, and many more! Simple but customizable.
Other
154 stars 23 forks source link

Pandas ix is deprecated since pd.__version__ > 1.0 #71

Closed Laksh1997 closed 4 years ago

Laksh1997 commented 4 years ago
  File "/opt/conda/lib/python3.6/site-packages/json_tricks/encoders.py", line 319, in pandas_encode
    repr[name] = tuple(obj.ix[:, k].values)

Got this error when trying to serialize a df.

mverleg commented 4 years ago

@Laksh1997 Thanks for reporting! Could you make sure you have version 3.13.6 or higher of json-tricks, and check if the problem persists?