Python Pandas Loop Over Columns Meaning