https://mingredbestcheapprice.blogspot.com/2024/03/pandas-taking-cumulative-sum-with-reset.html
Pandas Taking Cumulative Sum With Reset