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 2.2.0 (released Jan 20, 2024). 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 jupyterlab
If you are using conda
, then you can install these packages with the following:
conda install jupyterlab matplotlib seaborn
conda install -c pyviz hvplot
The HvPlot library will be used to build interactive visualizations in JupyterLab. If you...