How to export python dataframe to csv with double quotes. I have tried with below code but its not coming in output file. I need results like "column1","column2",column3"... Please help.
exportPath=exportPath+'\\data2Upload.csv'
header=['Country','Indicator','Unit','Frequency','Date','Value']
data.to_csv(exportPath,columns=header,sep=',',quotechar='"',index=False)
import csv
. – Dynel