Session Ready
Exercise

Choose kind of plot

Let's make some different kinds of plots using our two-weeks of Alphabet stock data. The data is once again given in 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
Instructions 1/3
undefined XP
  • 1
    • Create a line plot of the daily trading volume using the date as the x-axis.
    • 2
      • Plot the volume using a bar plot.
    • 3
      • Create a histogram of the daily volume.