Search
Search Results
Search finished, found 9 page(s) matching the search query.
- numpy.flatnonzero
...mPy reference Routines and objects by topic Sorting, searching, and counting numpy.flatnonzero...
- numpy.flatnonzero (Python function, in numpy.flatnonzero)
- NumPy 1.15.0 Release Notes
...for float inputs, and that of ufuncs in general. For all types of scalar or 0d input, the result is now a scalar. np.flatnonzero works on numpy-convertible types np.flatnonzero now uses np.ravel(a) instead of a.ravel(), so it works for l...
- numpy.flatnonzero
...mPy reference Routines and objects by topic Sorting, searching, and counting numpy.flatnonzero...
- numpy.ma.masked_array.nonzero
...tuple_of_arraystupleIndices of elements that are non-zero. See also numpy.nonzeroFunction operating on ndarrays. flatnonzeroReturn indices that are non-zero in the flattened version of the input array. numpy.ndarray.nonzeroEquivalen...
- numpy.ma.MaskedArray.nonzero
...tuple_of_arraystupleIndices of elements that are non-zero. See also numpy.nonzeroFunction operating on ndarrays. flatnonzeroReturn indices that are non-zero in the flattened version of the input array. numpy.ndarray.nonzeroEquivalen...
- numpy.ma.nonzero
...tuple_of_arraystupleIndices of elements that are non-zero. See also numpy.nonzeroFunction operating on ndarrays. flatnonzeroReturn indices that are non-zero in the flattened version of the input array. numpy.ndarray.nonzeroEquivalen...
- numpy.nonzero
...meters: aarray_likeInput array. Returns: tuple_of_arraystupleIndices of elements that are non-zero. See also flatnonzeroReturn indices that are non-zero in the flattened version of the input array. ndarray.nonzeroEquivalent ndar...
- How to index
ndarrays
...0, 0, 5, 3], [4, 6, 0, 0]]) >>> np.nonzero(z) (array([0, 0, 0, 1, 1, 2, 2]), array([0, 1, 2, 2, 3, 0, 1])) Use flatnonzero to fetch indices of elements that are non-zero in the flattened version of the ndarray: >>> np.flatnonzero(z...