Sorting, searching, and counting
Sorting
Return a sorted copy of an array. |
|
Returns the indices that would sort an array. |
|
Sort a complex array using the real part first, then the imaginary part. |
|
Return a partitioned copy of an array. |
See also
Searching
Returns the indices of the maximum values along an axis. |
|
Returns the indices of the maximum values along an axis ignoring NaNs. |
|
Returns the indices of the minimum values along an axis. |
|
Returns the indices of the minimum values along an 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 x or y depending on condition. |
|
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 a. |