MCPcopy Index your code
hub / github.com/dask/dask / nonzero

Method nonzero

dask/array/core.py:2991–3002  ·  view source on GitHub ↗

Return the indices of the elements that are non-zero. Refer to :func:`dask.array.nonzero` for full documentation. See Also -------- dask.array.nonzero : equivalent function

(self)

Source from the content-addressed store, hash-verified

2989 return repeat(self, repeats, axis=axis)
2990
2991 def nonzero(self):
2992 """Return the indices of the elements that are non-zero.
2993
2994 Refer to :func:`dask.array.nonzero` for full documentation.
2995
2996 See Also
2997 --------
2998 dask.array.nonzero : equivalent function
2999 """
3000 from dask.array.routines import nonzero
3001
3002 return nonzero(self)
3003
3004 def to_zarr(self, *args, **kwargs):
3005 """Save array to the zarr storage format

Callers 8

_sort_mixedFunction · 0.80
sanitize_indexFunction · 0.80
_vindex_arrayFunction · 0.80
test_nonzeroFunction · 0.80
test_nonzero_methodFunction · 0.80
test_nonzeroFunction · 0.80

Calls 1

nonzeroFunction · 0.90

Tested by 5

test_nonzeroFunction · 0.64
test_nonzero_methodFunction · 0.64
test_nonzeroFunction · 0.64