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 took a deeper dive into using indexes in pandas to organize and retrieve data. We examined many of the useful types of indexes and how they can be used with different types of data to efficiently access values without needing to query data in the rows. And we concluded with an examination of using hierarchical indexes to be able to efficiently retrieve data that match to labels in multiple indexes, giving us a powerful means of being able to select subsets of data.

At this point, we have covered much of the basic modeling portion of pandas. In the next chapter, we will examine to to represent categorical variable with pandas.