Book Image

Learning pandas - Second Edition

By : Michael Heydt
Book Image

Learning pandas - Second Edition

By: Michael Heydt

Overview of this book

You will learn how to use pandas to perform data analysis in Python. You will start with an overview of data analysis and iteratively progress from modeling data, to accessing data from remote sources, performing numeric and statistical analysis, through indexing and performing aggregate analysis, and finally to visualizing statistical data and applying pandas to finance. With the knowledge you gain from this book, you will quickly learn pandas and how it can empower you in the exciting world of data manipulation, analysis and science.
Table of Contents (16 chapters)

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.