Search
Search Results
Search finished, found 15 page(s) matching the search query.
- Array API
...llected in a structured array, then PyArray_Sort (…) can also be used to sort the array directly. PyObject *PyArray_SearchSorted(PyArrayObject *self, PyObject *values, NPY_SEARCHSIDE side, PyObject *perm) Equivalent to ndarray.searchsor...
- NumPy 1.10.0 Release Notes
...aled by \(1/\\sqrt{n}\). Improvements np.digitize using binary search np.digitize is now implemented in terms of np.searchsorted. This means that a binary search is used to bin the values, which scales much better for larger number of b...
- NumPy 1.20.0 Release Notes
...# mode: inexact match np.ravel_multi_index(arr, (7, 6), mode="clap") # should be "clip" # searchside: inexact match np.searchsorted(arr[0], 4, side='random') # should be "right" (gh-16056) Deprecation of numpy.dual The module numpy.du...
- NumPy 1.4.0 Release Notes
...he non-nan part if it exists. The type comparison functions have been made consistent with the new sort order of nans. Searchsorted now works with sorted arrays containing nan values. Complex division has been made more resistant to overfl...
- NumPy 1.7.0 Release Notes
...onstant, edge, linear_ramp, maximum, mean, median, minimum, reflect, symmetric, wrap, and <function>. New argument to searchsorted The function searchsorted now accepts a ‘sorter’ argument that is a permutation array that sorts the array...
- NumPy 1.9.0 Release Notes
...ys using np.array has been improved. It is now equivalent in speed to np.vstack(list). Performance improvement for np.searchsorted For the built-in numeric types, np.searchsorted no longer relies on the data type’s compare function to per...
- NumPy quickstart
...es, take, transpose, vsplit, vstack Questionsall, any, nonzero, where Orderingargmax, argmin, argsort, max, min, ptp, searchsorted, sort Operationschoose, compress, cumprod, cumsum, inner, ndarray.fill, imag, prod, put, putmask, real, su...
- numpy.char.chararray.sort
...urn a sorted copy of an array. numpy.argsortIndirect sort. numpy.lexsortIndirect stable sort on multiple keys. numpy.searchsortedFind elements in sorted array. numpy.partitionPartial sort. Notes See numpy.sort for notes on the differ...
- numpy.matrix.sort
...urn a sorted copy of an array. numpy.argsortIndirect sort. numpy.lexsortIndirect stable sort on multiple keys. numpy.searchsortedFind elements in sorted array. numpy.partitionPartial sort. Notes See numpy.sort for notes on the differ...
- numpy.memmap.sort
...urn a sorted copy of an array. numpy.argsortIndirect sort. numpy.lexsortIndirect stable sort on multiple keys. numpy.searchsortedFind elements in sorted array. numpy.partitionPartial sort. Notes See numpy.sort for notes on the differ...
- numpy.ndarray.sort
- numpy.recarray.sort
...urn a sorted copy of an array. numpy.argsortIndirect sort. numpy.lexsortIndirect stable sort on multiple keys. numpy.searchsortedFind elements in sorted array. numpy.partitionPartial sort. Notes See numpy.sort for notes on the differ...
- numpy.sort
...o ndarray.sortMethod to sort an array in-place. argsortIndirect sort. lexsortIndirect stable sort on multiple keys. searchsortedFind elements in a sorted array. partitionPartial sort. Notes The various sorting algorithms are charact...
- NumPy: the absolute basics for beginners
...argsort, which is an indirect sort along a specified axis, lexsort, which is an indirect stable sort on multiple keys, searchsorted, which will find elements in a sorted array, and partition, which is a partial sort. To read more about so...
- The N-dimensional array (
ndarray
)