Python Loop Through Dataframe By Tuple Vs Dictionary