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.06k stars 583 forks source link

arctic import error with Pandas 0.24 #707

Closed stnatter closed 5 years ago

stnatter commented 5 years ago

Arctic Version

1.73.0

Arctic Store

# VersionStore, TickStore, or ChunkStore

Platform and version

macOS Mojave 10.14.2, py 3.7.2

Description of problem and/or code sample that reproduces the issue

getting the following traceback with pandas 0.24 while all works fine with 0.23.4

ImportError Traceback (most recent call last)

in ----> 1 from arctic import Arctic ~/miniconda3/lib/python3.7/site-packages/arctic/__init__.py in 1 """ The Arctic TimeSeries and Tick store.""" 2 ----> 3 from .arctic import Arctic, register_library_type 4 from .arctic import VERSION_STORE, TICK_STORE, CHUNK_STORE 5 from .store.version_store import register_versioned_storage, register_version ~/miniconda3/lib/python3.7/site-packages/arctic/arctic.py in 12 from .hooks import get_mongodb_uri 13 from .store import version_store, bson_store, metadata_store ---> 14 from .tickstore import tickstore, toplevel 15 from .chunkstore import chunkstore 16 from six import string_types ~/miniconda3/lib/python3.7/site-packages/arctic/tickstore/tickstore.py in 7 import numpy as np 8 import pandas as pd ----> 9 from pandas.core.frame import _arrays_to_mgr 10 import pymongo 11 from pymongo import ReadPreference ImportError: cannot import name '_arrays_to_mgr' from 'pandas.core.frame' (/Users/steffen/miniconda3/lib/python3.7/site-packages/pandas/core/frame.py)
shashank88 commented 5 years ago

Will take a look.

bmoscon commented 5 years ago

this was fixed already, but it hasnt been released in a new version of arctic yet