Sektion 5. Kapitel 4
single
Challenge 2
Stryg for at vise menuen
Opgave
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 alt klart?
Tak for dine kommentarer!
Sektion 5. Kapitel 4
single
Spørg AI
Spørg AI
Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat