Pemetaan Menggunakan Kamus

state = {"Domestic": 0, "International": 1}  #dictionary for mapping
General['International Student'] = df['10'].map(state)
Chunxiao Wang