You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Joris Van den Bossche (JIRA)" <ji...@apache.org> on 2019/06/05 08:56:00 UTC

[jira] [Comment Edited] (ARROW-2667) [C++/Python] Add pandas-like take method to Array

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

Joris Van den Bossche edited comment on ARROW-2667 at 6/5/19 8:55 AM:
----------------------------------------------------------------------

[~wesmckinn] you renamed this issue to only be about Array (and opened ARROW-5454 for the ChunkedArray part). So then this can be closed? (the python Array part was tackled in ARROW-5291)

Edit: the other issue is only about C++, so we can keep this open for the Python side of course.


was (Author: jorisvandenbossche):
[~wesmckinn] you renamed this issue to only be about Array (and opened ARROW-5454 for the ChunkedArray part). So then this can be closed? (the python Array part was tackled in ARROW-5291)

> [C++/Python] Add pandas-like take method to Array
> -------------------------------------------------
>
>                 Key: ARROW-2667
>                 URL: https://issues.apache.org/jira/browse/ARROW-2667
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++, Python
>            Reporter: Uwe L. Korn
>            Priority: Major
>             Fix For: 0.14.0
>
>
> We should add a {{take}} method to {{Array/ChunkedArray/Column}} that takes a list of indices and returns a reordered array.
> For reference, see Pandas' interface: https://github.com/pandas-dev/pandas/blob/2cbdd9a2cd19501c98582490e35c5402ae6de941/pandas/core/arrays/base.py#L466



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)