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

Plotting time-series prices

Now let's perform a graphical comparison of the closing values for AAPL and MSFT. The following plots the adjusted closing price for AAPL:

The following shows MSFT:

Both sets of closing values can easily be displayed on a single chart to give a side-by-side (or one over the other) comparison:

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