MCPcopy
hub / github.com/dask/dask / any

Method any

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

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