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, you learned about the pandas Series object and how it can be used to represent an indexed representation of variable measurements. We started with how to create and initialize a Series and its associated index, and then examined how to manipulate the data in one or more Series objects. We examined how to align Series objects by index label and apply mathematical operations across the aligned values. We then examined how to look up data by index, as well as how to perform queries based upon the data (Boolean expressions). We then closed with an examination of how to use re-indexing to change indexes and align data.

In the next chapter, you will learn how the DataFrame is used to represent multiple Series of data in ...

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