Summary

In this chapter, we briefly overviewed the pandas Series and DataFrame objects, how they are used to represent data, and how to select data in both via queries, columns, and indices. The concept of reindexing both classes of objects is also introduced, and as we get into the later chapters, it will be common to perform reindexing of time-series data.

In the next chapter, we will examine indexing in more depth with an eye towards how performing various aggregations of data can derive results from the information represented in pandas. As we progress into more specific financial analysis, this combination of reindexing and aggregation will form the basis of much of the analysis performed later in the book.

Get Mastering pandas for Finance now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.