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

Representing Tabular and Multivariate Data with the DataFrame

The pandas DataFrame object extends the capabilities of the Series object into two-dimensions. Instead of a single series of values, each row of a data frame can have multiple values, each of which is represented as a column. Each row of a data frame can then model multiple related properties of a subject under observation, and with each column being able to represent different types of data.

Each column of a data frame is a pandas Series, and a data frame can be considered a form of data like a spreadsheet or a database table. But these comparisons do not do the DataFrame justice, as a data frame has very distinct qualities specific to pandas, such as automatic data alignment ...

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