I have a pandas dataframe as follows:
0 False
1 False
2 False
3 False
4 True
...
1569 False
1570 False
I need to get the indices that are True, so [4] in this case or something. How do i do that?
I have a pandas dataframe as follows:
0 False
1 False
2 False
3 False
4 True
...
1569 False
1570 False
I need to get the indices that are True, so [4] in this case or something. How do i do that?