SyntaxFix
Write A Post
Hire A Developer
Questions
You should use () to group your boolean vector to remove ambiguity.
()
df = df[(df['closing_price'] >= 99) & (df['closing_price'] <= 101)]