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 2018/04/25 07:12:00 UTC
[jira] [Updated] (ARROW-2286) [Python] Allow subscripting
pyarrow.lib.StructValue
[ https://issues.apache.org/jira/browse/ARROW-2286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated ARROW-2286:
----------------------------------
Labels: pull-request-available (was: )
> [Python] Allow subscripting pyarrow.lib.StructValue
> ---------------------------------------------------
>
> Key: ARROW-2286
> URL: https://issues.apache.org/jira/browse/ARROW-2286
> Project: Apache Arrow
> Issue Type: Wish
> Components: Python
> Affects Versions: 0.8.0
> Reporter: Antoine Pitrou
> Priority: Major
> Labels: pull-request-available
>
> {code:python}
> >>> obj
> {'x': 42, 'y': True}
> >>> type(obj)
> pyarrow.lib.StructValue
> >>> obj['x']
> Traceback (most recent call last):
> File "<ipython-input-96-93ad3443b3c6>", line 1, in <module>
> obj['x']
> TypeError: 'pyarrow.lib.StructValue' object is not subscriptable
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)