[ https://issues.apache.org/jira/browse/PARQUET-1015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Uwe L. Korn reassigned PARQUET-1015: ------------------------------------ Assignee: Uwe L. Korn > Object categoricals are not serialized when only None is present > ---------------------------------------------------------------- > > Key: PARQUET-1015 > URL: https://issues.apache.org/jira/browse/PARQUET-1015 > Project: Parquet > Issue Type: Bug > Components: parquet-cpp > Affects Versions: cpp-1.1.0 > Reporter: Marco Neumann > Assignee: Uwe L. Korn > Priority: Minor > Fix For: cpp-1.3.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.4.14#64029)