You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2018/10/01 09:00:00 UTC
[jira] [Commented] (ARROW-3374) [Python] Dictionary has
out-of-bound index when creating DictionaryArray from Pandas with NaN
[ https://issues.apache.org/jira/browse/ARROW-3374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16633734#comment-16633734 ]
Wes McKinney commented on ARROW-3374:
-------------------------------------
Actually, I think in this case we can safely assume the user's intent is to respect pandas's nulls. I will fix
> [Python] Dictionary has out-of-bound index when creating DictionaryArray from Pandas with NaN
> ---------------------------------------------------------------------------------------------
>
> Key: ARROW-3374
> URL: https://issues.apache.org/jira/browse/ARROW-3374
> Project: Apache Arrow
> Issue Type: Bug
> Components: Python
> Affects Versions: 0.10.0
> Reporter: Keith Kraus
> Assignee: Wes McKinney
> Priority: Major
> Fix For: 0.11.0
>
>
> Minimal reproducer:
> {code:python}
> import pandas as pd
> import pyarrow as pa
> pa.array(pd.Categorical(['a', 'b', 'c'], categories=['a', 'b']))
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)