[
https://issues.apache.org/jira/browse/ARROW-1083?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Uwe L. Korn updated ARROW-1083:
-------------------------------
Fix Version/s: 0.5.0
> Object categoricals are not serialized when only None is present
> ----------------------------------------------------------------
>
> Key: ARROW-1083
> URL: https://issues.apache.org/jira/browse/ARROW-1083
> Project: Apache Arrow
> Issue Type: Bug
> Components: Python
> Affects Versions: 0.4.0
> Reporter: Marco Neumann
> Priority: Minor
> Fix For: 0.5.0
>
>
> The following code sample fails with {{pyarrow.lib.ArrowNotImplementedError:
> NotImplemented: unhandled type}} but should not:
> {noformat}
> import pandas as pd
> import pyarrow as pa
> import pyarrow.parquet as pq
> df = pd.DataFrame({'x': [None]})
> df['x'] = df['x'].astype('category')
> table = pa.Table.from_pandas(df)
> buf = pa.InMemoryOutputStream()
> pq.write_table(table, buf)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)