Filtr pandy na dwóch kolumnach
df[(df['favorite_color'] == 'green') & (df['grade'] > 90)]
Kat
df[(df['favorite_color'] == 'green') & (df['grade'] > 90)]