Reading and Writing Files With pandas

pandas is a powerful and flexible Python package that allows you to work with labeled and time series data. It also provides statistics methods, enables plotting, and more. One crucial feature of pandas is its ability to write and read Excel, CSV, and many other types of files. Functions like the pandas read_csv() method enable you to work with files effectively. You can use them to save the data and labels from pandas objects to a file and load them later as pandas Series or DataFrame instances.

In this course, you’ll learn:

  • What the pandas IO tools API is
  • How to read and write data to and from files
  • How to use the methods of read_csv()
  • How to work with various file formats
  • How to work with big data efficiently

What’s Included:

Downloadable Resources:

Related Learning Paths:

About Darren Jones

Darren Jones Darren Jones

With 20 years as a teacher of music technology, Darren is keen to bring his skills to the Python table.

» More about Darren

Each tutorial at Real Python is created by a team of developers so that it meets our high quality standards. The team members who worked on this tutorial are:

Participant Comments

Alain Rouleau on Aug. 18, 2021

Lots of good info and examples, thanks!

« Browse All Courses