NumPy

Previous topic

numpy.ndarray.round

Next topic

numpy.ndarray.setfield

numpy.ndarray.searchsorted

method

ndarray.searchsorted(v, side='left', sorter=None)

Find indices where elements of v should be inserted in a to maintain order.

For full documentation, see numpy.searchsorted

See also

numpy.searchsorted

equivalent function