PANDAS CUMMIN

import pandas as pd

s = pd.Series([0, 1, -2, 5, 10, -3])
s.cummin()
>>>
	0    0
	1    0
	2   -2
	3   -2
	4   -2
	5   -3
	dtype: int64
wolf-like_hunter