42 lines
553 B
ReStructuredText
42 lines
553 B
ReStructuredText
Sorting, searching, and counting
|
|
================================
|
|
|
|
.. currentmodule:: numpy
|
|
|
|
Sorting
|
|
-------
|
|
.. autosummary::
|
|
:toctree: generated/
|
|
|
|
sort
|
|
lexsort
|
|
argsort
|
|
ndarray.sort
|
|
msort
|
|
sort_complex
|
|
partition
|
|
argpartition
|
|
|
|
Searching
|
|
---------
|
|
.. autosummary::
|
|
:toctree: generated/
|
|
|
|
argmax
|
|
nanargmax
|
|
argmin
|
|
nanargmin
|
|
argwhere
|
|
nonzero
|
|
flatnonzero
|
|
where
|
|
searchsorted
|
|
extract
|
|
|
|
Counting
|
|
--------
|
|
.. autosummary::
|
|
:toctree: generated/
|
|
|
|
count_nonzero
|