warunek LOC na pierwszych 3 kolumnach DataFrame

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