Here we use the I component

Use the seasonal_decompose from statsmodels.tsa.seasonal to identify trend and seasonal components of the ts