npstreams.iany
- npstreams.iany(arrays, axis=-1)
Test whether any array elements along a given axis evaluate to True.
- Parameters:
arrays (iterable) – Arrays to be reduced.
axis (int or None, optional) – Axis along which a logical OR reduction is performed. The default is to perform a logical AND along the ‘stream axis’, as if all arrays in
arraywere stacked along a new dimension. Ifaxis = None, arrays inarraysare flattened before reduction.
- Yields:
any (ndarray, dtype bool)