Is there a method by which a user is able to pass 2 fields from a single dataframe into a Python nested for loop. One field is being operated upon by a function the second i