pandas.Series.cumprod

Series.cumprod(axis=0, dtype=None, out=None, skipna=True)

Cumulative product of values. Preserves locations of NaN values

Extra parameters are to preserve ndarray interface.

Parameters :

skipna : boolean, default True

Exclude NA/null values

Returns :

cumprod : Series