pandas.Series.argsort
-
Series.argsort(axis=0, kind='quicksort', order=None)[source] -
Overrides ndarray.argsort. Argsorts the value, omitting NA/null values, and places the result in the same locations as the non-NA values.
Parameters: -
axis : int -
Не оказывает влияния, но принимается для совместимости с numpy.
-
kind : {‘mergesort’, ‘quicksort’, ‘heapsort’}, default ‘quicksort’ -
Выбор алгоритма сортировки. См. np.sort для получения дополнительной информации. ‘mergesort’ — единственный устойчивый алгоритм
-
order : None -
Не оказывает влияния, но принимается для совместимости с numpy.
Returns: -
argsorted : Series, with -1 indicated where nan values are present
См. также
-
© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/0.24.2/reference/api/pandas.Series.argsort.html