Return the sum of the array elements over the given axis.
Refer to numpy.sum for full documentation.
See also
numpy.ndarray.trace
numpy.ndarray.cumsum
Enter search terms or a module, class or function name.