SyntaxFix
Write A Post
Hire A Developer
Questions
You can try query, which is less typing:
query
df.query('B==3')['A']