October 2018
Intermediate to advanced
252 pages
6h 49m
English
The dataset is in this file: sales-of-shampoo-over-a-three-ye.csv. It has two columns, the first for months and the second for sales figures for each month, as follows:
"Month","Sales of shampoo over a three year period""1-01",266.0"1-02",145.9"1-03",183.1"1-04",119.3"1-05",180.3"1-06",168.5"1-07",231.8
First, we need to import the relevant classes, as follows:
from pandas import read_csvfrom matplotlib import pyplotfrom pandas import datetime