In the Calling Series methods recipe in Chapter 1, Pandas Foundations, a variety of methods operated on a single column or Series of data. When these same methods are called from a DataFrame, they perform that operation for each column at once.
Operating on the entire DataFrame
Getting ready
In this recipe, we explore a variety of the most common DataFrame attributes and methods with the movie dataset.
How to do it...
- Read in the movie dataset, and grab the basic descriptive attributes, shape, size, and ndim, along with running the len function:
>>> movie =...