{
"cells": [
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [],
"source": [
"# Import packages\n",
"import matplotlib.pyplot as plt\n",
"import pandas as pd\n",
"import plotly.express as px\n",
"from statsmodels.graphics.tsaplots import plot_acf"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [],
"source": [
"# Read in the data\n",
"data = pd.read_csv(\"../coal-price-data/AirPassengers.csv\")"
]
},
{
"cell_type": "code",
"execution_count": 4,
"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}