Summary

In this chapter, we learned about methods for selecting a subset of data from a pandas DataFrame. We also learned about how to apply these methods to a real dataset. We also learned about methods for selecting multiple rows and columns from a dataset that has been read into pandas, and we applied these methods to our real dataset to demonstrate the selection of a subset of data. We learned about the pandas sort_values method. We saw various ways to use the sort_values method to sort data in a pandas DataFrame. We also learned how to sort a pandas series object. We learned about methods for filtering rows and columns from a pandas DataFrame. We introduced a couple of ways to accomplish this. We learned about pandas' filter method, ...

Get Mastering Exploratory Analysis with pandas now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.