Sorting, Searching, and Counting
================================

Sorting
-------

.. autosummary::
   :toctree: generated/
   :nosignatures:

   mars.tensor.sort
   mars.tensor.core.Tensor.sort


Searching
---------

.. autosummary::
   :toctree: generated/
   :nosignatures:

   mars.tensor.argmax
   mars.tensor.nanargmax
   mars.tensor.argmin
   mars.tensor.nanargmin
   mars.tensor.argwhere
   mars.tensor.argmin
   mars.tensor.nonzero
   mars.tensor.flatnonzero
   mars.tensor.where
   mars.tensor.searchsorted
   mars.tensor.extract


Counting
--------

.. autosummary::
   :toctree: generated/
   :nosignatures:

   mars.tensor.count_nonzero