title: Loop over specified rows of a csv file using Python
body: <p>I am using the package csv in python 2.7</p>
  
  <pre><code>import csv    
  f=open('Path\Top.csv')
  
  
  csv_f = csv.reader(f)
  counter = 0
  for row in csv_f:
      if counter ==0 :
          next
      # Do some more stuff
      counter += 1
  </code></pre>
  
  <p>The first row contains headers and i don't wish to include it in the loop. I am trying the above scheme to omit the first row from analysis.</p>
  
  <p>Is there an elegant way of accomplishing the same, the above scheme doesn't work. </p>
  
  <p>Also, how do I iterate from some row i to row j without having to start from first row every time.The file is big and it wastes time to start from 1st row every single time.</p>
  
  <p>Thanks.</p>