numpy / 1.18.5 / reference / generated / numpy.ndarray.cumsum.html /

numpy.ndarray.cumsum

method

ndarray.cumsum(axis=None, dtype=None, out=None)

Return the cumulative sum of the elements along the given axis.

Refer to numpy.cumsum for full documentation.

See also

numpy.cumsum

equivalent function

© 2005–2020 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.18/reference/generated/numpy.ndarray.cumsum.html