Skip to content

Commit 4e7a3f8

Browse files
committed
Additional fix for missing pandas.Panel
1 parent 7a1374c commit 4e7a3f8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

arctic/__init__.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,9 @@
2424

2525
register_versioned_storage(PandasDataFrameStore)
2626
register_versioned_storage(PandasSeriesStore)
27-
register_versioned_storage(PandasPanelStore)
27+
try:
28+
from pandas import Panel
29+
register_versioned_storage(PandasPanelStore)
30+
except ImportError:
31+
pass
2832
register_versioned_storage(NdarrayStore)

0 commit comments

Comments
 (0)