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

Summary

In this chapter, we examined various techniques for grouping and analyzing groups of data with pandas. An introduction to the split-apply-combine pattern was given along with an overview of how this pattern is implemented in pandas. Then we learned how to split data into groups based on data in both columns and in the levels of an index. We then examined how to process data within each group using aggregation functions and transformations. We finished with a quick examination of how to filter groups of data based on their contents.

In the next chapter, we will dive deep into one of the most powerful and robust capabilities of pandas - modeling of time series data.

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