numpy.ndarray.sum
method
-
ndarray.sum(axis=None, dtype=None, out=None, keepdims=False)
-
Return the sum of the array elements over the given axis.
Refer to
numpy.sum
for full documentation.See also
-
numpy.sum
- equivalent function
-
© 2005–2019 NumPy Developers
Licensed under the 3-clause BSD License.
https://docs.scipy.org/doc/numpy-1.16.1/reference/generated/numpy.ndarray.sum.html