Hello, Dave
I have shared the full code in the article.
May I know the error message you are getting?
Please note that as per the code both files should be saved in the same file directory.
Also, please check if you have installed the datetime , pandas, pandas_datareader, numpy matplotlib, seaborn and statsmodels package as a prerequiste.
You can check the packages installed by going to command prompt/terminal (for mac) and typing the below command.
"pip list".
In case any of the packages are missing then you can install with the below command.
pip install "package_name"