Technical requirements
In this chapter, you will be using the Hourly Energy Consumption data from Kaggle (https://www.kaggle.com/datasets/robikscube/hourly-energy-consumption). Throughout the chapter, you will be working with the same energy dataset to observe how the different techniques compare.
The ZIP folder contains 13 CSV files, which are available in this book's GitHub repository and can be found here: https://github.com/PacktPublishing/Time-Series-Analysis-with-Python-Cookbook./tree/main/datasets/Ch15.
The recipes of this chapter will use one of these files, but feel free to explore the other ones. The files represent hourly energy consumption measured in megawatts (MW).
Start by loading the data as a pandas DataFrame and prepare the data for the recipes. You will also load the shared libraries used throughout the chapter:
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
from pathlib import Path
from statsmodels.tools.eval_measures...