I have a complicated problem with pandas.I would like to calculatea cumlative sum depending on the timestamp start_date concerning that we have an end_date which if greater