pandas.Index.argsort
pandas 3.1.1 · Index objects · method
Get positions describing the order that sorts the values.
Call syntax
Index.argsort(*args, **kwargs)Run the example
Edit the example and select Run Python to see the result.
Parameters
| Parameter | Requirement | Accepted values and behavior |
|---|---|---|
*args |
Optional Additional positional arguments |
|
**kwargs |
Optional Additional keyword arguments |
Returns
np.ndarray[np.intp]