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.
Bu egzersiz
Visualizing Time Series Data in Python
kursunun bir parçasıdırUygulamalı interaktif egzersiz
Bu örnek kodu tamamlayarak bu egzersizi bitirin.
# Import statsmodels.api as sm
____
# Perform time series decompositon
decomposition = sm.tsa.____(____)
# Extract the trend and seasonal components
trend = ____
seasonal = ____