[
https://issues.apache.org/jira/browse/ARROW-9432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17156805#comment-17156805
]
Neal Richardson edited comment on ARROW-9432 at 7/13/20, 3:52 PM:
------------------------------------------------------------------
In R, negative indices means to take everything except those indices. So maybe
these behaviors should be handled in Python/R, translating the requested
indices to the "normal" form that the C++ library expects?
was (Author: npr):
In R, negative indices means to take everything except those indices. So maybe
these behaviors should be handled in Python/R, translating the requested
indices to the "normal" form?
> [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: 2.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)