GCXS.any

GCXS.any(axis=None, keepdims=False, out=None)

See if any values along array are True. Uses all axes by default.

Parameters
  • axis (Union[int, Iterable[int]], optional) – The axes along which to minimize. Uses all axes by default.

  • keepdims (bool, optional) – Whether or not to keep the dimensions of the original array.

Returns

The reduced output sparse array.

Return type

SparseArray

See also

numpy.all

Equivalent numpy function.