SyntaxFix
Write A Post
Hire A Developer
Questions
I bumped into the same problem, I used:
if "Mel" in a["Names"].values: print("Yep")
But this solution may be slower since internally pandas create a list from a Series.