🍾 Xarray is now 10 years old! 🎉

xarray.IndexVariable.searchsorted

xarray.IndexVariable.searchsorted#

IndexVariable.searchsorted(v, side='left', sorter=None)[source]#

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