title: Iterate from a certain row of a csv file in Python
body: <p>I have a csv file with many millions of rows. I want to start iterating from the 10,000,000 row. At the moment I have the code:</p>
  
  <pre><code>    with open(csv_file, encoding='UTF-8') as f: 
          r = csv.reader(f)
          for row_number, row in enumerate(r):    
              if row_number &lt; 10000000:
                  continue
              else:
                  process_row(row)      
  </code></pre>
  
  <p>This works, however take several seconds to run before the rows of interest appear. Presumably all the unrequired rows are loaded into python unnecessarily, slowing it down. Is there a way of starting the iteration process on a certain row - i.e. without the start of the data read in.</p>