magic ETL: Cummulative sum

Can anyone advise me on how to mimic the matlab or pandas "cumsum" function on a data set column in a magic ETL.


More accurately: the pandas groupby + cumsum functionality, that is to group by somecategorical cilumn and calculate the cummulative sum of a numeric value