There are two dataframes, where 1st dataframe contains group contains list of strings which each person should be mapped to. 2nd dataframe conatins the actual values to be m