-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Milestone
Description
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
Related issues:
- [C++] Implement take kernel functions (is blocked by)
- [Python] fancy indexing on pa.array (duplicates)
- [C++] Implement Take on ChunkedArray for DataFrame use (relates to)
Note: This issue was originally created as ARROW-2667. Please see the migration documentation for further details.