Machine Learning, Deep Learning, AI, Pandas, Data Analysis.
iterrows() function. Below is an example of what the first two rows look like. Each row in iterrows is a Series object. for index, row in df.iterrows(): print row if index == 1: break Out: Season 1985 Daynum 20 Wteam 1228 Wscore 81 Lteam 1328 Lscore 64 Wloc N Numot 0 Name: 0, dtype: object Season