Python Pandas Loop Through Column Names Sql