I'm trying to write data to an excel file that is already open and saved with a specific filename. I need to do this without specifying a file path.
What I have below is not writing anything to the spreadsheet.
import pandas as pd
df = pd.DataFrame({data1, data2, data3})
writer = pd.ExcelWriter("*open_excel_filename*.xlsx")
df.to_excel(writer,"Sheet1",startrow=1,startcol=1)