I want to know if it is possible to use the pandas to_csv() function to add a dataframe to an existing csv file. The csv file has the same structure as the load
to_csv()
with open(filename, 'a') as f: df.to_csv(f, header=f.tell()==0)