I want to create a new column in a Pandas Dataframe which includes the maximum value of another column up to this Point in time.
For example:
time | value | max value
1 2 2
2 4 4
3 3 4
4 3 4
5 6 6
Does someone have an idea how to create a Code for the "max value" column?
Thanks