Python Pandas Soma cumulativa da coluna
# Using the pandas "cumsum()" function
df['new_column'] = df.column_name.cumsum()
Kwams
# Using the pandas "cumsum()" function
df['new_column'] = df.column_name.cumsum()