Suppose I have a pandas series:
a = [1 ,2 ,4 ,2 ,7 , 2 ,8]
How to tell Python to return the indices that have values equals to 2?
Thanks.
Suppose I have a pandas series:
a = [1 ,2 ,4 ,2 ,7 , 2 ,8]
How to tell Python to return the indices that have values equals to 2?
Thanks.