pastas / pastastore

:spaghetti: :convenience_store: Tools for managing timeseries and Pastas models

Home Page:https://pastastore.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Arctic not yet supporting pandas 1.0

dbrakenhoff opened this issue · comments

Arctic contains at least one reference to a function that was deprecated in pandas 1.0.
The fix is really simple. Just change

https://github.com/man-group/arctic/blob/684bc8c706e80bd4d5763dca97e37130b4b859e0/arctic/serialization/numpy_records.py#L256

into

return Series(data=data, index=index, name=name)

After changing this locally I was able to use pastastore with pandas 1.0. But do be careful because there might be other issues lurking.

The PR to fix this has been submitted but still has to be accepted: man-group/arctic#841 (comment)

This has been fixed in the latest version of Arctic (see https://github.com/man-group/arctic/commits/master). Closing issue.