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.
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.
I went through documentation for csv module, but couldn't find any function that serves this purpose.
I also went through all other questions on Stackoverflow and other sites regarding this, but none helps.
Is there a way to delete rows the way I want them to?
Here is what I have right now
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