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/10/09 07:33:00 UTC
[jira] [Resolved] (ARROW-9879) [Python] ChunkedArray.__getitem__ doesn't work with numpy scalars
[ https://issues.apache.org/jira/browse/ARROW-9879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Krisztian Szucs resolved ARROW-9879.
------------------------------------
Resolution: Fixed
Issue resolved by pull request 8072
[https://github.com/apache/arrow/pull/8072]
> [Python] ChunkedArray.__getitem__ doesn't work with numpy scalars
> -----------------------------------------------------------------
>
> Key: ARROW-9879
> URL: https://issues.apache.org/jira/browse/ARROW-9879
> Project: Apache Arrow
> Issue Type: Bug
> Components: Python
> Affects Versions: 1.0.0, 1.0.1
> Reporter: Uwe Korn
> Assignee: Uwe Korn
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.0.0
>
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
>
> {{import pyarrow as pa
> import numpy as np
> pa.chunked_array(pa.array([1,2]))[np.int32(0)]}}
> fails with error {{TypeError: key must either be a slice or integer}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)