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