A. Coady created ARROW-15736:
--------------------------------

             Summary: [C++] Aggregate functions for min and max index.
                 Key: ARROW-15736
                 URL: https://issues.apache.org/jira/browse/ARROW-15736
             Project: Apache Arrow
          Issue Type: New Feature
          Components: C++
            Reporter: A. Coady


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



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to