SyntaxFix
Write A Post
Hire A Developer
Questions
Use df[df['B']==3]['A'].values if you just want item itself without the brackets
df[df['B']==3]['A'].values