Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
0.7.0
Description
The serialize / deserialize roundtrip loses {{ df.columns.name }}
In [1]: import pandas as pd In [2]: import pyarrow as pa In [3]: df = pd.DataFrame([[1, 2]], columns=pd.Index(['a', 'b'], name='col_name')) In [4]: df.columns.name Out[4]: 'col_name' In [5]: pa.deserialize_pandas(pa.serialize_pandas(df)).columns.name
Is this in scope for pyarrow? I suspect it would require an update to the pandas section of the Schema metadata.
Attachments
Issue Links
- links to