Press "Enter" to skip to content

Tag: read_excel

Pandas Excel Tutorial: How to Read and Write Excel files

In this tutorial, we will learn how to work with Excel files and Python. It will provide an overview of how to use Pandas to load xlsx files and write spreadsheets to Excel.

In the first section, we will go through, with examples, how to read an Excel file, how to read specific columns from a spreadsheet, how to read multiple spreadsheets and combine them to one dataframe, how to read many Excel files, and, finally, how to convert data according to specific datatypes (e.g., using Pandas dtypes).

When we have done this, we will continue by learning how to write Excel files; how to name the sheets and how to write to multiple sheets.