7.5.36.48. sum

Array.sum(axis=None, dtype=None, out=None, keepdims=False, initial=0, where=True)

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

Refer to numpy.sum for full documentation.

7.5.36.48. See Also

numpy.sum : equivalent function