You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Joris Van den Bossche (JIRA)" <ji...@apache.org> on 2019/07/04 21:53:00 UTC
[jira] [Updated] (ARROW-5859) [Python] Support ExtentionType on
conversion to numpy/pandas
[ https://issues.apache.org/jira/browse/ARROW-5859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joris Van den Bossche updated ARROW-5859:
-----------------------------------------
Description:
Currently converting a Table of RecordBatch with an ExtensionType array to pandas gives:
{code}
ArrowNotImplementedError: No known equivalent Pandas block for Arrow data of type extension<arrow.py_extension_type> is known.
{code}
And similarly converting the array itself to a python object (to_pandas or to_pylist) gives an ArrowNotImplementedError or a "KeyError: 28"
Initial support could be to fall back to the storage type.
was:
Currently converting a Table of RecordBatch with an ExtensionType array to pandas gives:
{{code}}
ArrowNotImplementedError: No known equivalent Pandas block for Arrow data of type extension<arrow.py_extension_type> is known.
{{code}}
And similarly converting the array itself to a python object (to_pandas or to_pylist) gives an ArrowNotImplementedError or a "KeyError: 28"
Initial support could be to fall back to the storage type.
> [Python] Support ExtentionType on conversion to numpy/pandas
> ------------------------------------------------------------
>
> Key: ARROW-5859
> URL: https://issues.apache.org/jira/browse/ARROW-5859
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Python
> Reporter: Joris Van den Bossche
> Priority: Major
>
> Currently converting a Table of RecordBatch with an ExtensionType array to pandas gives:
> {code}
> ArrowNotImplementedError: No known equivalent Pandas block for Arrow data of type extension<arrow.py_extension_type> is known.
> {code}
> And similarly converting the array itself to a python object (to_pandas or to_pylist) gives an ArrowNotImplementedError or a "KeyError: 28"
> Initial support could be to fall back to the storage type.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)