I have two sets of data which I want to append in different excel sheets using python.
I tried the following code but it actually writes a new sheet ex: education and experience, education1 and experience1.
with pd.ExcelWriter('profile.xlsx',engine='openpyxl', mode = 'a') as writer:
df_experience.to_excel(writer, sheet_name = 'experience', index = False)
df_education.to_excel(writer, sheet_name = 'education', index = False)
what can i do to 'append' data to existing sheets?