MCPcopy Create free account
hub / github.com/dask/dask / any

Method any

dask/array/core.py:2502–2513  ·  view source on GitHub ↗

Returns True if any of the elements evaluate to True. Refer to :func:`dask.array.any` for full documentation. See Also -------- dask.array.any : equivalent function

(self, axis=None, keepdims=False, split_every=None, out=None)

Source from the content-addressed store, hash-verified

2500 return divmod(other, self)
2501
2502 def any(self, axis=None, keepdims=False, split_every=None, out=None):
2503 """Returns True if any of the elements evaluate to True.
2504
2505 Refer to :func:`dask.array.any` for full documentation.
2506
2507 See Also
2508 --------
2509 dask.array.any : equivalent function
2510 """
2511 from dask.array.reductions import any
2512
2513 return any(self, axis=axis, keepdims=keepdims, split_every=split_every, out=out)
2514
2515 def all(self, axis=None, keepdims=False, split_every=None, out=None):
2516 """Returns True if all elements evaluate to True.

Callers 15

takeFunction · 0.45
check_indexFunction · 0.45
__len__Method · 0.45
__setitem__Method · 0.45
auto_chunksFunction · 0.45
to_zarrFunction · 0.45
broadcast_shapesFunction · 0.45
_vindexFunction · 0.45
sliding_window_viewFunction · 0.45
nanarg_aggFunction · 0.45

Calls 1

anyFunction · 0.90

Tested by

no test coverage detected