Get startedGet started for free

Making a line plot

In this exercise you will be creating a line plot using two weeks of our Alphabet stock data. The data is given as the DataFrame alphabet2w and looks like this:

alphabet2w.head()
             close     volume    open      high      low
date
2019-07-15   1150.51   1058431   1145.34   1150.68   1140.00
2019-07-12   1145.34   1093933   1142.93   1147.50   1138.56
2019-07-11   1144.08   1300529   1146.16   1153.24   1139.53
2019-07-10   1140.91   1535546   1132.32   1142.34   1130.66
2019-07-09   1124.29   1473622   1110.32   1127.86   1107.15

This exercise is part of the course

Intermediate Python for Finance

View Course

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Plot the daily high price
alphabet2w.____(____ = 'high')
Edit and Run Code