ktl014
8/16/2017 - 5:50 PM

how to iterate over rows in dataframe for pandas From https://stackoverflow.com/questions/16476924/how-to-iterate-over-rows-in-a-dataframe-i

In [18]: for index, row in df.iterrows():
   ....:     print row['c1'], row['c2']
   ....:     
10 100
11 110
12 120