man-group / arctic

High performance datastore for time series and tick data
https://arctic.readthedocs.io/en/latest/
GNU Lesser General Public License v2.1
3.05k stars 583 forks source link

Panel not available in pandas 1.2 #884

Closed grinisrit closed 3 years ago

grinisrit commented 3 years ago

Starting from pandas 1.2 Panel is not available anymore, so this causes an error:

arctic/store/_pandas_ndarray_store.py", line 6, in from pandas import DataFrame, Series, Panel ImportError: cannot import name 'Panel' from 'pandas'

ahmadazizi commented 3 years ago

yes, Panel has been removed in recent stable versions of Pandas. Installation will interrupt

shashank88 commented 3 years ago

I guess this will be a blocker for people to be on the latest pandas version, we could handle the import error here. WIll take a look over the weekend

shashank88 commented 3 years ago

I just realized this is already merged in by @enricodetoma https://github.com/man-group/arctic/pull/881

enricodetoma commented 3 years ago

Please also take a look at pull request #887 (not yet merged) which contains an additional fix