Time series decomposition of the airline dataset
In this exercise, you will apply time series decomposition to the airline
dataset, and visualize the trend
and seasonal
components.
Diese Übung ist Teil des Kurses
Visualizing Time Series Data in Python
Interaktive Übung
Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.
# Import statsmodels.api as sm
____
# Perform time series decompositon
decomposition = sm.tsa.____(____)
# Extract the trend and seasonal components
trend = ____
seasonal = ____