This question requires us to filter a data frame by two conditions: first, the grade of the student, and second, their favorite color.
Start by filtering by grade since it’s a bit simpler than filtering by strings. We can filter columns in pandas by setting our data frame equal to itself with the filter in place.
In this case:
df_students = df_students[df_students["grade"] > 90]