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

[C++] Aggregate functions for min and max index.

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • C++

    Description

      Numpy and Pandas both have `argmin` and `argmax`, for the common use case of finding values in parallel arrays which correspond to min or max values. Proposals:

      • `min_max_index` for arrays
      • `hash_min_max_index` for aggregations
      • some ability to break ties:
        • `min_max_index` for tables with multiple sort keys, similar to `sort_indices`
        • `min_max_indices` for arrays to match all equal values

      Attachments

        Activity

          People

            Unassigned Unassigned
            coady A. Coady
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: