Looking to create a dataframe column that will take data from a dictionary and search DF for the value. Example below:
DF1:
ColA ColB ColC ColD
Dog 4.5 1.3 6.4
Cat 154 89 2
Frog 8 x 9
Dictionary = {'Dog':'ColC', 'Cat':'ColB', 'Frog':'ColD'}
Desired Dataframe: 'NewCol' column uses the dictionary to find the proper value
ColA ColB ColC ColD NewCol
Dog 4.5 1.3 6.4 1.3
Cat 154 89 2 154
Frog 8 x 9 9
Thanks for the help!!