[
https://issues.apache.org/jira/browse/ARROW-16234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17526664#comment-17526664
]
David Li commented on ARROW-16234:
----------------------------------
We could offer function options for different modes which will also impact the
return type. This is what we do for other similar kernels (e.g. quantile I
think where you can choose to interpolate and get a float, or not interpolate
and get the original data type).
> [C++] Implement Rank Kernel
> ---------------------------
>
> Key: ARROW-16234
> URL: https://issues.apache.org/jira/browse/ARROW-16234
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++
> Reporter: Will Ayd
> Assignee: Will Ayd
> Priority: Minor
> Labels: C++, good-second-issue, kernel, pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Didn't see this in the library already so apologies if overlooked, but I
> think it would be nice to add a compute kernel for ranking. Here is a similar
> function in pandas:
> [https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Series.rank.html]
--
This message was sent by Atlassian Jira
(v8.20.7#820007)