On this page
Sorting, searching, and counting
Sorting
| 
 | Return a sorted copy of an array. | 
| 
 | Perform an indirect stable sort using a sequence of keys. | 
| 
 | Returns the indices that would sort an array. | 
| 
 | Sort an array in-place. | 
| 
 | Return a copy of an array sorted along the first axis. | 
| 
 | Sort a complex array using the real part first, then the imaginary part. | 
| 
 | Return a partitioned copy of an array. | 
| 
 | Perform an indirect partition along the given axis using the algorithm specified by the  | 
Searching
| 
 | Returns the indices of the maximum values along an axis. | 
| 
 | Return the indices of the maximum values in the specified axis ignoring NaNs. | 
| 
 | Returns the indices of the minimum values along an axis. | 
| 
 | Return the indices of the minimum values in the specified axis ignoring NaNs. | 
| 
 | Find the indices of array elements that are non-zero, grouped by element. | 
| 
 | Return the indices of the elements that are non-zero. | 
| 
 | Return indices that are non-zero in the flattened version of a. | 
| 
 | Return elements chosen from  | 
| 
 | Find indices where elements should be inserted to maintain order. | 
| 
 | Return the elements of an array that satisfy some condition. | 
Counting
| 
 | Counts the number of non-zero values in the array  | 
© 2005–2020 NumPy Developers
Licensed under the 3-clause BSD License.
 https://numpy.org/doc/1.19/reference/routines.sort.html