Course Module 5 Programming Assignment - df_bur13_chl_weekly Doesn't Exist

Apologies if I’m missing something obvious, but it seems like the instructions for the regression questions in in the graded module 5 programming assignment are missing a step.

In step 4, where you are working on the linear regression, the instructions seem to expect that you already have a data frame called df_bur13_chl_weekly, but there are no exercises to create that.

I’m going to just try creating it and see how that goes.

There’s no excercise that I can see for creating the weekly data frame. I was able to create one my own and run the regression, but I get different results, and the grader gives me zero out of ten.

I think maybe there is an excerise missing or some code to create df_bur13_chl_weekly that is missing?

I went ahead and completed the capstone and passed. It would be great to get this resolved so I can complete the course.

Again, apologies, if I’m missing something. I’ve reviewed the code a lot but maybe I’ve just been starting at it too long :slight_smile:

@Community-Team, who is the technical lead for this course? It isn’t listed in the community guide page.

Hi Todd! Thank you for reporting! We’ll look into this today. Will update this thread asap.

2 Likes

Hi Tom. That would be me. Thanks

1 Like

Thank you! Much appreciated. And again, apologies if I’m missing something.

Hi Todd. It looks like that was just a markdown typo and the lab author meant df_bur13_chl instead. Hope this helps!

Thanks, Chris! That helps but I still think something is not right.

The instruction says:

  1. Add a column called idx to assign a number to each week.

The underlying data is daily, so I think it should say each “day”.

I took that approach and able to get a similar output to what appears in the “Expected Output” for the exercise, but when I submit, I get zero points for the exercise with the error “Unable to find object required for grading in your code.”

This is the code I ran

(moderator edit: removed solution)

Hi Todd! Can you send me your .ipynb file via direct message? You can click my name and click the blue Message button to send a DM. I removed the code snippet here to avoid giving possible solutions publicly. Thanks!

1 Like

Hi Tom. The post has been updated.

1 Like

Sent :slight_smile:

1 Like

Hi Todd3, may I check with you if you received a similar error:
Failed test case: df_bur13_chl has incorrect values. Make sure you are resampling the data weekly and taking the mean.

Thank you.

I don’t think so, but I think they may have revised that part of the assignment since I took it. Sorry this isn’t more helpful.

1 Like