1 Series
If you have any experience with pandas, you know that we typically work with data in two-dimensional tables known as data frames, with rows and columns. But each column in a data frame is built from a series, a one-dimensional data structure (figure 1.1), which means you can think of a data frame as a collection of series.
This perspective is particularly useful once you learn what methods are available on a series, because most of those methods are also available on data frames—but instead of getting a single result, we get one result for each column in the data frame. For example, ...
Get Pandas Workout now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.