O'Reilly logo

Learning pandas - Second Edition by Michael Heydt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Examining the sample CSV data set

We will start by reading a simple CSV file, data/msft.csv (in the book's source data folder). This file is a snapshot of stock values for the MSFT ticker. The first several lines of this file can be examined using the !head command (on a Windows system, use the type command):

The first row of the file contains the names of all the columns represented in the data, each separated with a comma. Each row then represents a sampling of the values on the specific date.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required