You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Robert Nishihara (JIRA)" <ji...@apache.org> on 2019/01/16 01:21:00 UTC
[jira] [Assigned] (ARROW-4269) [Python] AttributeError: module
'pandas.core' has no attribute 'arrays'
[ https://issues.apache.org/jira/browse/ARROW-4269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Nishihara reassigned ARROW-4269:
---------------------------------------
Assignee: Philipp Moritz
> [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
> Assignee: Philipp Moritz
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.12.0
>
> Time Spent: 1h 40m
> Remaining Estimate: 0h
>
> 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)