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

Method any

dask/array/core.py:2513–2524  ·  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

2511 return divmod(other, self)
2512
2513 def any(self, axis=None, keepdims=False, split_every=None, out=None):
2514 """Returns True if any of the elements evaluate to True.
2515
2516 Refer to :func:`dask.array.any` for full documentation.
2517
2518 See Also
2519 --------
2520 dask.array.any : equivalent function
2521 """
2522 from dask.array.reductions import any
2523
2524 return any(self, axis=axis, keepdims=keepdims, split_every=split_every, out=out)
2525
2526 def all(self, axis=None, keepdims=False, split_every=None, out=None):
2527 """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