Im tryin to make a cumulative sum in python based on two different conditions. As you can see in the attached image, "Calculation" column would take the same value