Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-2667

[C++/Python] Add pandas-like take method to Array

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.14.0
    • Component/s: C++, Python
    • Labels:
      None

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                uwe Uwe Korn
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: