pandas and NumPy 3 · NumPy
Sort and find positions
Sort values, or get the indices that would sort them.
np.sort(a)
np.argsort(a)
Official pandas and NumPy 3 documentation
pandas and NumPy 3 · NumPy
Sort values, or get the indices that would sort them.
np.sort(a)
np.argsort(a)
Official pandas and NumPy 3 documentation
Was this page helpful?