title: Iterate over first N rows in pandas
body: <p>What is the suggested way to iterate over the rows in pandas like you would in a file? For example:</p>
  
  <pre><code>LIMIT = 100
  for row_num, row in enumerate(open('file','r')):
      print (row)
      if row_num == LIMIT: break
  </code></pre>
  
  <p>I was thinking to do something like:</p>
  
  <pre><code>for n in range(LIMIT):
      print (df.loc[n].tolist())
  </code></pre>
  
  <p>Is there a built-in way to do this though in pandas?</p>