Challenge 1
Compito
Swipe to start coding
Time for new challenges! Here is the first challenge, the idea of which is to process the pr_HH Spot Price.csv dataset to turn it from non-stationary to stationary:
- Read the dataset.
- Test for data stationarity (use
adfuller) and display results. - Visualize the initial values of the
"Price"column. - Transform data (the
"Price"column of thedfDataFrame) from non-stationary to stationary using the difference method (using the.diff()method withperiods = 1parameter). Drop NA values. Assign the result to thenew_diffvariable. - Visualize the modified data (
new_diff). - Rerun the ADF test for updated data (
new_diff).
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 5. Capitolo 3
single
Chieda ad AI
Chieda ad AI
Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione
Suggested prompts:
Riassuma questo capitolo
Explain code
Explain why doesn't solve task
Awesome!
Completion rate improved to 3.85
Challenge 1
Scorri per mostrare il menu
Compito
Swipe to start coding
Time for new challenges! Here is the first challenge, the idea of which is to process the pr_HH Spot Price.csv dataset to turn it from non-stationary to stationary:
- Read the dataset.
- Test for data stationarity (use
adfuller) and display results. - Visualize the initial values of the
"Price"column. - Transform data (the
"Price"column of thedfDataFrame) from non-stationary to stationary using the difference method (using the.diff()method withperiods = 1parameter). Drop NA values. Assign the result to thenew_diffvariable. - Visualize the modified data (
new_diff). - Rerun the ADF test for updated data (
new_diff).
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 5. Capitolo 3
single