You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Krisztian Szucs (Jira)" <ji...@apache.org> on 2020/09/14 15:46:00 UTC

[jira] [Assigned] (ARROW-9999) [Python] Support constructing dictionary array directly through pa.array()

     [ https://issues.apache.org/jira/browse/ARROW-9999?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Krisztian Szucs reassigned ARROW-9999:
--------------------------------------

    Assignee: Krisztian Szucs

> [Python] Support constructing dictionary array directly through pa.array()
> --------------------------------------------------------------------------
>
>                 Key: ARROW-9999
>                 URL: https://issues.apache.org/jira/browse/ARROW-9999
>             Project: Apache Arrow
>          Issue Type: New Feature
>            Reporter: Krisztian Szucs
>            Assignee: Krisztian Szucs
>            Priority: Major
>
> {code:python}
> pa.array(["some", "string"], type=pa.dictionary(pa.int8(), pa.string)))
> {code}
> raises
> {code}
> ArrowNotImplementedError: Sequence converter for type dictionary<values=string, indices=int8, ordered=0> not implemented
> {code}
> It would be a much more comfortable way than
> {code:python}
> pa.DictionaryArray.from_arrays(indices, dictionary)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)