Technical requirements
In this chapter and going forward, we will extensively use pandas 2.1.3 (released on November 10, 2023. 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.