SyntaxFix
Write A Post
Hire A Developer
Questions
You can also use query(), i.e.:
df_filtered = df.query('a == 4 & b != 2')