Cumulative MAX/MIN

Hello,
i am looking for a way to calculate the cumulative max metric using histograms.
For those who know pandas (python) i am talking about cummax() or cummin()

So basically in a simple histograms series like:

1, 2, 3, 4, 5 ,6, 5, 4, 3, 2, 1
i need
1, 2, 3, 4, 5, 6, 6, 6, 6, 6, 6

so basically i would like to HOLD the running max.
Thank you!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.