Skip to content

pd.DataFrame.cumprod

pandas.DataFrame.cumprod(axis=None, skipna=True)

Supported Arguments : None

Example Usage

>>> @bodo.jit
... def f():
...   df = pd.DataFrame({"A": [1, 2, 3], "B": [.1,np.NaN,12.3],})
...   return df.cumprod()
>>> f()
   A    B
0  1  0.1
1  2  NaN
2  6  NaN

Note

Not supported for dataframe with nullable integer.