You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "A. Coady (Jira)" <ji...@apache.org> on 2022/02/20 23:18:00 UTC
[jira] [Created] (ARROW-15736) [C++] Aggregate functions for min and max index.
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)