I have 3 dataframes with dimensions (a*2,b*2,c*2) whereas a,b,c are different numbers.
I want to add them in a single csv file but it is getting over-write every time.
I used this
pandas DataFrame output end of csv
but unable to do it.
My code-
list_df = [df1, df2, df3]
for ii list_df:
with open("cumulative_score.csv",'a',encoding='utf-8') as r:
ii.to_csv(r)
But ,the final output ,I am getting is the last dataframe only instead of all the other dataframes.