numpy.ndarray.sum — NumPy v1.13 Manual (original) (raw)

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