Function polars::functions::argsort_by
source · [−]pub fn argsort_by(
by: &[Series],
reverse: &[bool]
) -> Result<ChunkedArray<UInt32Type>, PolarsError>
Expand description
Find the indexes that would sort these series in order of appearance.
That means that the first Series
will be used to determine the ordering
until duplicates are found. Once duplicates are found, the next Series
will
be used and so on.