Although column selection is usually done directly with the indexing operator, there are some DataFrame methods that facilitate their selection in an alternative manner. select_dtypes and filter are two useful methods to do this.
Selecting columns with methods
Getting ready
You need to be familiar with all pandas data types and how to access them. The Understanding data types recipe in Chapter 1, Pandas Foundations, has a table with all pandas data types.
How it works...
- Read in the movie dataset, and use the title of the movie to label each row. Use the get_dtype_counts...