False in [True,True] False in pd.Series([True,True])
the first line of code returns False the second line of code returns True!
I think I must
If you are checking for more than one value, I highly recommend the isin method.
>>> pd.Series(range(10)).isin([1]).any() True