I want to write the csv (huge) data to excel file using python. I have read the csv file using csv.reader like-
with open(main_path+i_bu_name+"/"+str(snapshot_id)+"/"+input_folder+input_csv_name,'rb') as input:
print "entering file read"
reader=csv.reader(input)
#datalist=list(reader)
Now i want to paste this reader to an existing excel file which has some formatting saved in it so i am using win32com python library to write csv reader data to excel. Whenever i try pandas to_excel() method, it removes the existing formatting from excel. Please help, how can i write this huge data to excel without removing formatting from excel.