Pilih baris non-NAN dan ganti nilai kolom

dfGraduates.loc[~dfGraduates["2nd Queen's Degree"].isnull(), "Queen's Degree"] = dfGraduates["2nd Queen's Degree"]
Chunxiao Wang