polars.Series.cumsum#

Series.cumsum(*, reverse: bool = False) Series[source]#

Get an array with the cumulative sum computed at every element.

Deprecated since version 0.19.14: This method has been renamed to cum_sum().

Parameters:
reverse

reverse the operation.