title: Deleting row from CSV using python
body: <p>I have a csv file which contains links to webpages. I'm collecting data from each link and saving it in a separate csv file.<br>
  Now in case I have to resume the file from the point where I left it, I have to manually delete the entries from the csv file and then run the code.<br>
  I went through documentation for csv module, but couldn't find any function that serves this purpose.<br>
  I also went through all other questions on Stackoverflow and other sites regarding this, but none helps.<br>
  Is there a way to delete rows the way I want them to?</p>
  
  <p>Here is what I have right now</p>
  
  <pre><code>import pandas as p
  
  df = p.read_csv("All_Links.csv")
  
  for i in df.index:
      try:
          url= df.ix[i]['MatchLink']
  
          #code process the data in the link
  
          #made sure that processing has finished
          #Now need to delete that row
  </code></pre>