Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
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'
```
Attachments
Issue Links
- links to