Reading and Writing Files With pandas (Overview)

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

Sample Code (.zip)

33.8 KB

Course Slides (.pdf)

11.6 MB

Alain Rouleau on Aug. 18, 2021

Lots of good info and examples, thanks!

Carlo Barrientos on May 14, 2024

Does pickle work with CPython objects ?

Carlo Barrientos on May 14, 2024

My preceeding question didn’t come out right; I meant to ask, does pickle work with Python classes that call wrapped precompiled C++ API Classes ? I’m not sure that is the right terminology either …

Become a Member to join the conversation.