pandas.DataFrame.cumsum — pandas 1.3.5 documentation
pandas.pydata.org › pandaspandas.DataFrame.cumsum. ¶. Return cumulative sum over a DataFrame or Series axis. Returns a DataFrame or Series of the same size containing the cumulative sum. The index or the name of the axis. 0 is equivalent to None or ‘index’. Exclude NA/null values. If an entire row/column is NA, the result will be NA. Additional keywords have no ...