Technical requirements
You can download the Jupyter notebooks and datasets needed from the GitHub repository to follow along:
- Jupyter notebooks: https://github.com/PacktPublishing/Time-Series-Analysis-with-Python-Cookbook./blob/main/code/Ch9/Chapter%209.ipynb
- Datasets: https://github.com/PacktPublishing/Time-Series-Analysis-with-Python-Cookbook./tree/main/datasets/Ch9
In this chapter and onward, we will extensively use pandas 1.4.2 (released April 2, 2022). This applies to all the recipes in the chapter.
There are four additional libraries that we will be using:
hvplot
andPyViz
seaborn
matplotlib
If you are using pip
, then you can install these packages from your terminal with the following:
pip install hvplot seaborn matplotlib jupyter plotly==5.5.0
If you are using conda
, then you can install these packages with the following:
conda install -c conda-forge seaborn conda install -c plotly plotly=5.5.0 conda install -c pyviz hvplot...