LernerPython+data

Working with CSV files in Pandas

CSV is the most common format for exchanging data. Learn how to use it, better than ever.

What you should know

Course Content

Course length

1.5 hours

Number of lessons

1

Training materials

1 Jupyter notebook

Coding exercises

3

LEARN MORE

CSV is the most common format for data. In this class, we’ll learn about the “read_csv” function, and the many ways we can use it to read data into our Pandas data frames. You’ll come out able to to wrangle CSV data, no matter its weird issues, into a data frame.

  • How to use “read_csv”
  • How to specify column names, both from the file and on your own
  • How to specify dtypes as needed
  • How to specify time-and-date dtypes
  • How to select particular columns
  • How to set one or more columns to be the data frame’s index

This course, like all others on LernerPython.com, is taught by Reuven Lerner.