- GCXS.reduce(method, axis=(0,), keepdims=False, **kwargs)
Performs a reduction operation on this array.
method (numpy.ufunc) – The method to use for performing the reduction.
axis (Union[int, Iterable[int]], optional) – The axes along which to perform the reduction. Uses all axes by default.
keepdims (bool, optional) – Whether or not to keep the dimensions of the original array.
**kwargs (dict) – Any extra arguments to pass to the reduction operation.
A similar Numpy method.
This method implemented on COO arrays.
This method implemented on GCXS arrays.