October 2018
Beginner to intermediate
676 pages
18h 30m
English
We will use the Google Stock Price data for plotting time series line plot. We have the data (date and daily closing price, separated by commas) in a .csv file without a header, so we will use the pandas library to read it and pass it on to the matplotlib.pyplot function to plot the graph.
Let's now import required libraries with the following code:
import matplotlib.pyplot as pltimport pandas as pd
Read now
Unlock full access