I have dataframe column let's say df['towns']
Apple
banana
cigor
delmon
and dictionary
cities = {
'x':[Apple,Banana],
'y':[Cigor,Zoor,Elk],
'z':[Delmon,Foo]
}
I want to create new column as df['city'] and label each row according to my dictionary. What is the proper way to do that?