Python Function to Create New Column in pandas dataframe based on dictionary values