I have a dictionary of dataframes and need to export them to excel.
mycollection = {'company1': df1, 'company2': df2, 'company3': df3}
I need to export all 3 dataframes to a single excel file using 3 sheets. Each sheet should be named the company number for e.g. "company3".
There are around 200 dataframes in the mycollection dictionary. I can use to_excel method to export data to excel, but that will create 200 excel files. Is it possible to export dataframe to sheets?