Python (openpyxl) : Put data from one excel file to another (template file) & save it with another name while retaining the template
问题 I have a template excel file named as template.xlsx which has a number of sheets. I would like to copy data from a seperate .csv file into the first sheet of template.xlsx (named as data ) and save the new file as result.xlsx while retaining the original template file. I want to paste the data starting from the second row in the data sheet of template.xlsx This is the code I have developed so far import pandas as pd from openpyxl.utils.dataframe import dataframe_to_rows import openpyxl from