Skip to main content

Module search

Module search 

Source
Expand description

Sorting and searching: searchsorted, sort, argsort, unique.

Enums§

SearchSide
Which insertion point searchsorted returns for equal values.

Functions§

argsort
Indices that sort along dim, like numpy.argsort. Type UInt64.
argwhere
Indices of the true (or non-zero) elements, like numpy.argwhere.
digitize
The bin of each element for increasing bins edges, like numpy.digitize.
isin
true where the element is in test_values, like numpy.isin. A null element gives false.
searchsorted
Insertion points of values into the ascending 1-D array sorted, like numpy.searchsorted. The result has the dimensions of values and type UInt64. A null value gives a null.
sort
Sort along dim, like numpy.sort. Nulls go last. Keeps the attributes.
unique
Sorted unique non-null values of all elements, like numpy.unique, as a 1-D array along a new dimension dim.