I have an excel file that contains multiple sheets. I want to convert these sheets into separate CSV files.
I tried this code and got an ordered dictionary of the sheets. Now I need to save them as CSV files in one step, instead of having to save each one manually in a separate step
xls = pd.ExcelFile('file.xlsx')
sheets = {}
for sheet_name in xls.sheet_names:
sheets[sheet_name] = xls.parse(sheet_name)