COO.all

COO.all(axis=None, keepdims=False, out=None)

See if all values in an 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.