Exercise 6 - Module 5 Assignment: Analyzing Chlorophyll levels in Australian Coral Reefs - boilerplate errors

Exercise 6: Simple Linear Regression

  1. Add the ‘idx’ column to df_bur13

df_bur13 is the wrong DataFrame, it should be df_bur13_chl as confirmed in the Hint: “To create the values for the new idx column, you can use the function range(). Remember you need as many values as there are rows in df_bur13_chl"

This causes unnecessary confusion and time wasted.

  1. The Expected output regression results are different and will not match the output we get because our DF df_bur13_chl contains 3009 observations for CHL_QA_AVG, whereas the Expected output contains 3026 (you must’ve used a different dataframe/dataset than the assignment one).

This causes unnecessary confusion and time wasted trying to figure out what’s wrong with my code, when it’s your output that holds the discrepancy (confirmed by later Exercise 7’s Expected output for results_multi that contains 3009 observations).

Hi, and thank you for the feedback. I’m sorry for the experience. We will look into this and update the notebook accordingly.

1 Like