[FEA] Change Column.sort_by_values
to Column.sort_values
.
#13391
Labels
cuDF (Python)
Affects Python cuDF API.
feature request
New feature or request
Performance
Performance related issue
Is your feature request related to a problem? Please describe.
cuDF Python has a method
Column.sort_by_values
that returns the sorted values and their indices. Unfortunately we never use both the values and the indices, only one or the other. We also haveColumn.argsort
which returns just the indices.Describe the solution you'd like
I propose we change
Column.sort_by_values
toColumn.sort_values
and drop the indices. This reduces the complexity of the implementation. If users need both values and indices, they can compute theargsort
and then use it as a gather map totake
.The text was updated successfully, but these errors were encountered: