Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Challenge 2 | Non-Stationary Models
Time Series Analysis

Swipe to show menu

book
Challenge 2

Task

Swipe to start coding

You are faced with a task similar to the previous one: convert data to stationary. You will remove seasonality in the Seasonality Time Series.csv dataset using the difference method. Track a certain amount of time for which the time pattern repeats and use the difference method:

  1. Read the dataset.
  2. Analyze how long patterns repeat (visualize "Var" and "Date" columns of the df DataFrame in this order).
  3. Use the resulting number (it is 8) for the difference method. Perform the differentiation for the "Var" column. Save the obtained result within the df_diff variable.
  4. Visualize the transformed data.

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 5. ChapterΒ 4
We're sorry to hear that something went wrong. What happened?

Ask AI

expand
ChatGPT

Ask anything or try one of the suggested questions to begin our chat

book
Challenge 2

Task

Swipe to start coding

You are faced with a task similar to the previous one: convert data to stationary. You will remove seasonality in the Seasonality Time Series.csv dataset using the difference method. Track a certain amount of time for which the time pattern repeats and use the difference method:

  1. Read the dataset.
  2. Analyze how long patterns repeat (visualize "Var" and "Date" columns of the df DataFrame in this order).
  3. Use the resulting number (it is 8) for the difference method. Perform the differentiation for the "Var" column. Save the obtained result within the df_diff variable.
  4. Visualize the transformed data.

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 5. ChapterΒ 4
Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
We're sorry to hear that something went wrong. What happened?
some-alt