[
https://issues.apache.org/jira/browse/ARROW-2443?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Uwe L. Korn updated ARROW-2443:
-------------------------------
Fix Version/s: 0.10.0
> [Python] Conversion from pandas of empty categorical fails with ArrowInvalid
> ----------------------------------------------------------------------------
>
> Key: ARROW-2443
> URL: https://issues.apache.org/jira/browse/ARROW-2443
> Project: Apache Arrow
> Issue Type: Bug
> Affects Versions: 0.9.0
> Reporter: Florian Jetter
> Priority: Minor
> Fix For: 0.10.0
>
>
> The conversion of an empty pandas categorical raises an exception. Before
> version `0.9.0` this was possible
> {code:java}
> import pandas as pd
> import pyarrow as pa
> pa.Table.from_pandas(pd.DataFrame({'cat': pd.Categorical([])})){code}
> raises:
> {{ArrowInvalid: Dictionary indices must have non-zero length}}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)