Posts by Nobre • 1 point
1 post
-
0
votes0
answers18
viewsQ: Rolling Sum with conditions
I have the following dataframe data = data = [['1996-01-10', 10, 0], ['1996-01-10', 5, 0], ['1996-01-11', 4, 1], ['1996-01-13', 14, 1], ['1996-01-13', 1, 0], ['1996-01-13', 13, 0], ['1996-01-16',…