[ https://issues.apache.org/jira/browse/ARROW-2443?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antoine Pitrou resolved ARROW-2443. ----------------------------------- Resolution: Fixed Issue resolved by pull request 1906 [https://github.com/apache/arrow/pull/1906] > [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 > Assignee: Uwe L. Korn > Priority: Minor > Labels: pull-request-available > 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)