numpy.ndarray.sum#

method

ndarray.sum(axis=None,dtype=None,out=None,*,keepdims=<novalue>,initial=<novalue>,where=<novalue>)#

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

Refer tonumpy.sum for full documentation.

See also

numpy.sum

equivalent function

On this page