Avsnitt 5. Kapitel 4
single
Challenge 2
Svep för att visa menyn
Uppgift
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 thedfDataFrame 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_diffvariable. - Visualize the transformed data.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 5. Kapitel 4
single
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal