I am trying to do a rolling count of how many of the last 5 rows are positive in a dataframe. An example of this would be:
Values | Positive last 5
------------------------
1 1
4 2
-9 2
6 3
1 4
-1 3
-3 2
4 3