numpy.ndarray.sum

ndarray.sum(axis=None, dtype=None, out=None)

Return the sum of the array elements over the given axis.

Refer to numpy.sum for full documentation.

See also

numpy.sum
equivalent function

Previous topic

numpy.ndarray.trace

Next topic

numpy.ndarray.cumsum

This Page

Quick search