Link to home
Start Free TrialLog in
Avatar of Wm Allen Smith
Wm Allen Smith

asked on

Python Append to existing csv file

How to append to an existing csv file? I have a csv file that is the result of looping through a folder and extracting data from named excel sheets within the folder. The the dataframe is saved as a csv file. Everytime the process runs it overwrites the content in the csv--I want to append to the file with new rows of data from each run, , not overwrite it. Please advise.
SOLUTION
Avatar of SiHodgy007
SiHodgy007
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Avatar of Norie
Norie

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Wm Allen Smith
Wm Allen Smith

ASKER

Thanks, guys, I will try this.