List = [H4, C9, S4, D2]
Dictionary = {key: int(value) for key, value in List}
# Output:
# {'H': 4, 'C': 9, 'S': 4, 'D': 2}
dictionary = {k: f(v) for k, v in dictionary.items()}
my_dictionary = dict(map(lambda kv: (kv[0], f(kv[1])), my_dictionary.iteritems()))
state = {"Domestic": 0, "International": 1} #dictionary for mapping
General['International Student'] = df['10'].map(state)
my_dictionary = {k: f(v) for k, v in my_dictionary.items()}