Skip to content

Glossary: pandas Basics

to_excel

Also written: .to_excel()

Writes a DataFrame to an `.xlsx` file using openpyxl. `sheet_name=` names the sheet.

Where the book teaches it

Related terms

ExcelWriteropenpyxl