Technical requirements
In this chapter and going forward, we will extensively use pandas 1.4.2 (released on April 2, 2022. This applies to all the recipes in this chapter.
Load these libraries in advance, since you will be using them throughout the chapter:
import pandas as pd
import numpy as np
import datetime as dt
You will use dt
, np
, and pd
aliases going forward.
You can download the Jupyter notebooks from the GitHub repository at https://github.com/PacktPublishing/Time-Series-Analysis-with-Python-Cookbook./tree/main/code/Ch6 to follow along.