LOC -Bedingung in den ersten 3 Datenspalten des Datenframs

df_bachelor = dfGraduates.iloc[:, :3].loc[dfGraduates["Queen's Degree"] == 'B.A.Sc.']
Chunxiao Wang