Get your own Python server Result Size: 625 x 565
x
 
import pandas as pd
data = [[10, 18, 11], [13, 15, 8], [9, 20, 3]]
df = pd.DataFrame(data)
print(df.cumprod())
        0     1    2
  0    10    18   11
  1   130   270   88
  2  1170  5400  264