O'Reilly logo

Mastering pandas for Finance 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

Chapter 5. Time-series Stock Data

In the previous chapter, we looked at time-series operations with pandas. The focus of the chapter was on the mechanics of time-series albeit with examples drawn from finance using historical stock data. In this chapter, we will continue to examine historical stock data, focusing on performing common financial analyses upon this data. At this point in the book, pandas moves to become a tool to facilitate analysis instead of being the story itself.

We will first look at gathering historical stock and index data from web sources and how to organize it to easily perform the various analyses we will undertake. We will then move on to demonstrating common visualizations for these types of data. These visualizations ...

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