You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/05/03 13:00:00 UTC
[jira] [Updated] (ARROW-5238) [Python] Improve usability of
pyarrow.dictionary function
[ https://issues.apache.org/jira/browse/ARROW-5238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated ARROW-5238:
----------------------------------
Labels: pull-request-available (was: )
> [Python] Improve usability of pyarrow.dictionary function
> ---------------------------------------------------------
>
> Key: ARROW-5238
> URL: https://issues.apache.org/jira/browse/ARROW-5238
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Python
> Reporter: Wes McKinney
> Assignee: Joris Van den Bossche
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.14.0
>
>
> {code}
> >>> pa.dictionary('int8', ['a', 'b', 'c', 'd'])
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> TypeError: Argument 'index_type' has incorrect type (expected pyarrow.lib.DataType, got str)
> >>> pa.dictionary(pa.int8(), ['a', 'b', 'c', 'd'])
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> TypeError: Argument 'dict_values' has incorrect type (expected pyarrow.lib.Array, got list)
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)