[
https://issues.apache.org/jira/browse/ARROW-6900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Antoine Pitrou closed ARROW-6900.
---------------------------------
Resolution: Won't Fix
PyArrow serialization is deprecated, closing as won't fix.
> [Python] PyArrow cant serialize pandas IntegerArray
> ---------------------------------------------------
>
> Key: ARROW-6900
> URL: https://issues.apache.org/jira/browse/ARROW-6900
> Project: Apache Arrow
> Issue Type: Bug
> Components: Python
> Affects Versions: 0.15.0
> Environment: python 3.7
> Reporter: Sayed Mohammad Hossein Torabi
> Priority: Major
> Labels: pyarrow-serialization
>
> PyArrow cant serialize pandas `IntegerArray` and return this error below:
> {code:python}
> SerializationCallbackError: pyarrow does not know how to serialize objects of
> type <class 'pandas.core.arrays.integer.IntegerArray'>.{code}
> To reproduce this bug just run this bunch of code
> {code:python}
> import pandas as pd
> import pyarrow as pa
> from pandas.core.arrays.integer import IntegerArray
> int_array = pd.array([1, None, 3], dtype=pd.Int32Dtype())
> pa.default_serialization_context().serialize(int_array).to_buffer().to_pybytes()
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)