Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
0.9.0
Description
The conversion of an empty pandas categorical raises an exception. Before version `0.9.0` this was possible
import pandas as pd import pyarrow as pa pa.Table.from_pandas(pd.DataFrame({'cat': pd.Categorical([])}))
raises:
ArrowInvalid: Dictionary indices must have non-zero length
Attachments
Issue Links
- links to