I have a Pandas Dataframe that looks as follows:
streak
0 1.0
1 2.0
2 0.0
3 1.0
4 2.0
5 0.0
6 0.0
I want to delete every row after the first 0.0 in the streak column.
The result should look like this:
streak
0 1.0
1 2.0