numpy.ndarray.cumsum — NumPy v2.5.dev0 Manual (original) (raw)

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.