When appending to csv, my first line is starting on the existing last line rather than a new line.
I keep searching SO, but I am just finding the basic use of openi
I am assuming that you are going to appending one below other of two dataframe into single dataframe.
use below mentioned command to make it as single command
ans = pd.concat([df, df])
then you can make output into .csv file