Philipp Moritz created ARROW-4269: ------------------------------------- Summary: [Python] AttributeError: module 'pandas.core' has no attribute 'arrays' Key: ARROW-4269 URL: https://issues.apache.org/jira/browse/ARROW-4269 Project: Apache Arrow Issue Type: Improvement Reporter: Philipp Moritz
This happens with pandas 0.22: ``` In [1]: import pyarrow --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) <ipython-input-1-57968f417579> in <module>() ----> 1 import pyarrow ~/arrow/python/pyarrow/__init__.py in <module>() 174 localfs = LocalFileSystem.get_instance() 175 --> 176 from pyarrow.serialization import (default_serialization_context, 177 register_default_serialization_handlers, 178 register_torch_serialization_handlers) ~/arrow/python/pyarrow/serialization.py in <module>() 303 304 --> 305 register_default_serialization_handlers(_default_serialization_context) ~/arrow/python/pyarrow/serialization.py in register_default_serialization_handlers(serialization_context) 294 custom_deserializer=_deserialize_pyarrow_table) 295 --> 296 _register_custom_pandas_handlers(serialization_context) 297 298 ~/arrow/python/pyarrow/serialization.py in _register_custom_pandas_handlers(context) 175 custom_deserializer=_load_pickle_from_buffer) 176 --> 177 if hasattr(pd.core.arrays, 'interval'): 178 context.register_type( 179 pd.core.arrays.interval.IntervalArray, AttributeError: module 'pandas.core' has no attribute 'arrays' ``` -- This message was sent by Atlassian JIRA (v7.6.3#76005)