O'Reilly logo

Learning pandas 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 provides capabilities beyond that of the NumPy array. We examined how to create and initialize a Series and its associated index. Using a Series, we then looked at how to manipulate the data in one or more Series objects, including alignment by labels, various means of rearranging and changing data, and applying arithmetical operations. We closed with examining how to reindex and perform slicing.

In the next chapter, you will learn how the DataFrame is used to represent multiple Series of data that are automatically aligned to a DataFrame level index, providing a uniform and automatic ability to represent multiple values for each index label.

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