You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Tom Augspurger (JIRA)" <ji...@apache.org> on 2017/09/20 22:05:00 UTC
[jira] [Created] (ARROW-1585) serialize_pandas round trip fails on
integer columns
Tom Augspurger created ARROW-1585:
-------------------------------------
Summary: serialize_pandas round trip fails on integer columns
Key: ARROW-1585
URL: https://issues.apache.org/jira/browse/ARROW-1585
Project: Apache Arrow
Issue Type: Bug
Components: Python
Affects Versions: 0.7.0
Reporter: Tom Augspurger
Priority: Minor
Fix For: 0.8.0
This roundtrip fails, since the Integer column isn't converted to a string after deserializing
{code:python}
In [1]: import pandas as pd
im
In [2]: import pyarrow as pa
In [3]: pa.deserialize_pandas(pa.serialize_pandas(pd.DataFrame({"0": [1, 2]}))).columns
Out[3]: Index(['0'], dtype='object')
{code}
That should be an {{ Int64Index([0]) }} for the columns.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)