{
"cells": [
{
"cell_type": "code",
"execution_count": 4,
"id": "4ab58063-fa96-4514-a608-4f06f9eb0837",
"metadata": {},
"outputs": [],
"source": [
"# Import packages\n",
"import plotly.express as px\n",
"import pandas as pd\n",
"from statsmodels.graphics.tsaplots import plot_pacf\n",
"import matplotlib.pyplot as plt"
]
},
{
"cell_type": "code",
"execution_count": 2,
"id": "b1607474-8b04-40ef-be6b-cff02fc5bdc9",
"metadata": {},
"outputs": [],
"source": [
"# Read in the data\n",
"data = pd.read_csv(\"../coal-price-data/AirPassengers.csv\")"
]
},
{
"cell_type": "code",
"execution_count": 3,
"id": "3f7da6a9-77d0-49ba-be7f-24046f00515f",
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
" \n",
" "
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"application/vnd.plotly.v1+json": {
"config": {
"plotlyServerURL": "https://plot.ly"
},
"data": [
{
"hovertemplate": "Date=%{x}
Passengers=%{y}