Module 5 exercise 6/7 data error?

Hi, I am wondering if there is an error in Module 5 exercise 6/7 as I cannot get my outputs to match up to the expected outputs.
Once I filter my Australian Coral reef data in exercise 2a to only include those at Burdekin River, I am left with a dataframe with 3009 rows only. In the linear and multiple regression tasks later in exercises 6/7, the expected outputs show 3026 observations. With this mismatch, I have failed the assignment despite being confident the code is correct and that it’s the actual dataset that differs. Please can this be checked?

1 Like

Hi @gbarry3 you may be in the wrong category, this si AI Python for Beginners, I do not remember any river or coral on here, and it does has 4 modules.

1 Like

Thanks, I have corrected it now!

1 Like

Hi Georgina, and welcome to the Forum! Can you post the error messages you got from the grader. That might help in the troubleshooting. Thanks.

1 Like

Hi Chris, This is the grader output:

1 Like

Hi. So based on the feedback, the data type is the problem and not the number of rows. I think those expect a list but please check. There is usually a similar exercise in the practice labs so you can refer to those as well. Hope this helps.

1 Like

Hi Chris, thanks for the tip - I have sorted it now!

2 Likes