Python Pandas Loop Over Columns Meaning In Math