Importing libraries
For this chapter and the rest of the book, we will be working with the pandas
, numpy
, yfinance
, and matplotlib
libraries. So, please remember to import them first:
# Import Libraries
import pandas as pd
import numpy as np
import yfinance as yf
%matplotlib inline
import matplotlib.pyplot as plt