You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2021/02/17 16:39:00 UTC

[jira] [Commented] (ARROW-9432) [C++/Python] Add option to Take kernel to interpret negative indices as indexing from the right

    [ https://issues.apache.org/jira/browse/ARROW-9432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17285960#comment-17285960 ] 

Antoine Pitrou commented on ARROW-9432:
---------------------------------------

While dedicated kernel variants would be faster, they would also increase the code size and build times substantially. This would have to be checked when drafting the implementation.

> [C++/Python] Add option to Take kernel to interpret negative indices as indexing from the right
> -----------------------------------------------------------------------------------------------
>
>                 Key: ARROW-9432
>                 URL: https://issues.apache.org/jira/browse/ARROW-9432
>             Project: Apache Arrow
>          Issue Type: New Feature
>          Components: C++, Python
>            Reporter: Uwe Korn
>            Priority: Major
>             Fix For: 4.0.0
>
>
> Currently negative integers are explicitly forbidding in the {{Take}} kernel. It would be nice to have the option to treat negative integers as "indices from the right" instead.



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