Dataframe looks like this:
Date | Length .
2005-01-01 - 3400 .
2005-01-02 - 54000 .
2005-01-03 - 266450 .
2005-01-04 - 0 .
2005-01-05 - 0 .
I want to break down the value in '266450' and distribute 86400 to the next row and if that value exceeds 86400 than pass the remaining to the next row again
For example, the answer should be this
Date | Length .
2005-01-01 - 3400 .
2005-01-02 - 54000 .
2005-01-03 - 86400 .
2005-01-04 - 86400 .
2005-01-05 - 86400 .
2005-01-06 - 7250