I am trying to figure out how I can loop through a list of dictionary values and apply the values of dictionaries to the rows in my dataframe that match specific filter conditio