years = [2013, 2014, 2015]
mult_conditions_query = df.query(
'year.isin(@years) and name.str.contains("Honda") and selling_price.between(300000,450000)'
)
mult_conditions_query.head()
view raw multi_query.py hosted with ❤ by GitHub