I would need to import the content of a csv file into an excel worksheet which is already created and shall not change (while the content of the csv can be overwritten).
For now I am using Excelwriter to create an excel file with the csv reader
from pandas.io.excel import ExcelWriter
import pandas
csv_file = 'name.csv'
ew = ExcelWriter('name.xlsx',sheet_name='name')
pandas.read_csv(csv_file, decimal=',').to_excel(ew, sheet_name=csv_file)
ew.save()
Then I could copy the "ew" excel content into another excel file, but:
Is there any way to read a csv file inot a specific workbook tab directly? basically to import a csv file into excel in a specific tab.
Thank you!