Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- writer = pd.ExcelWriter('auto.bg.xlsx', engine='openpyxl')
- df_diesel.to_excel(writer, sheet_name='Diesel engines')
- df_gasoline.to_excel(writer, sheet_name='Gasoline engines')
- df_electric.to_excel(writer, sheet_name='Electric engines')
- df_hybrid.to_excel(writer, sheet_name='Hybrid engines')
- writer.save()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement