Фильтр Pandas на двух столбцах
df[(df['favorite_color'] == 'green') & (df['grade'] > 90)]
Kat
df[(df['favorite_color'] == 'green') & (df['grade'] > 90)]