How To Loop Through A Dataframe In Python Syntax