Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
cpp-1.1.0
-
None
Description
The following code sample fails with pyarrow.lib.ArrowNotImplementedError: NotImplemented: unhandled type but should not:
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)
Attachments
Issue Links
- is blocked by
-
ARROW-1286 PYTHON: support Categorical serialization to/from parquet
- Resolved