Add key option to sort methods #9855
Labels
Algos
Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff
Duplicate Report
Duplicate issue or pull request
Enhancement
One feature that I am missing from dataframes is to sort with a custom
key
function, similar to the builtinsorted
orlist.sort
. I see there is some effort to unify sorting in issue #8239, so it might be a nice to add this powerful functionality topandas
while the sorting API is being overhauled.The text was updated successfully, but these errors were encountered: