I have a pandas DataFrame df:
pandas
DataFrame
df
import pandas as pd data = {\"Name\": [\"AAAA\", \"BBBB\"], \"C1\": [25, 12],
I like to use df.query() for these kind of things
df.query('C1>=0 and C1<=20 and C2>=0 and C2<=20 and C3>=0 and C3<=20')