Challenge 2
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:
- Read the dataset.
- Analyze how long patterns repeat (visualize
"Var"
and"Date"
columns of thedf
DataFrame in this order). - Use the resulting number (it is
8
) for the difference method. Perform the differentiation for the"Var"
column. Save the obtained result within thedf_diff
variable. - Visualize the transformed data.
Solution
Thanks for your feedback!
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Awesome!
Completion rate improved to 3.85
Challenge 2
Swipe to show menu
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:
- Read the dataset.
- Analyze how long patterns repeat (visualize
"Var"
and"Date"
columns of thedf
DataFrame in this order). - Use the resulting number (it is
8
) for the difference method. Perform the differentiation for the"Var"
column. Save the obtained result within thedf_diff
variable. - Visualize the transformed data.
Solution
Thanks for your feedback!
Awesome!
Completion rate improved to 3.85single