You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "David Li (Jira)" <ji...@apache.org> on 2022/02/23 14:54:00 UTC

[jira] [Updated] (ARROW-15736) [C++] Aggregate functions for min and max index.

     [ https://issues.apache.org/jira/browse/ARROW-15736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Li updated ARROW-15736:
-----------------------------
    Labels: kernel  (was: )

> [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
>            Priority: Major
>              Labels: kernel
>
> 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)