"error_message": f'white_df.is_red has an incorrect type.'

Course 1 week 1 assignment.

I checked the url, I passed the test, grade still on 3/10.
So they tell to check utilise.pyb where it shows the header message for white_df this
error_message": f’white_df.is_red has an incorrect type.’

can someone please guide me on this as I have checked all other links in the community related to this issue and still not able to find the issue.

Thank you

Hi @Deepti_Prasad,
First… This was in the “Resources” category, so I am moving this to the Course 1 Week 1 category since this is about that week’s assignment.

Now, about the error:

I tried to reproduce with a fresh copy of the assignment, but everything worked fine for me.

A couple things you can try:

1). The most common situation when other students have seen this issue, it’s been solved by refreshing their workspace. Usually, this has been because they inadvertently changed the url, which you’ve already checked, but there could be other causes. See Troubleshooting tips - Refreshing your workspace for instructions.

2). Since you are getting an “incorrect type” error, another possibility might be that you did not save your work before you submitted. See Assignment Troubleshooting Tips for more info.

If you try both of these and still have an issue, you can DM me a copy of your .ipynb and I’ll take a look to see if I can find the issue.

hello Wendy, I did everything what you have mentioned. it stil shows white_df error. Probably the URL copy is what I am not doing the correct way. Can you please guide me how to make it write.

I used the UCL Machine Learning repository, then wine quality, when I tried to copy the web link on that page, it gets downloaded, so not able to copy the URL.

Currently URL which I have copied is through the help section here posted by Gent, which also is not working now
https://archive.ics.uci.edu/ml/machine-learning-databases/wine-quality/

I already cross the date of submission, need urgent help!!!

Hi @Deepti_Prasad,

You should not need to change the URLs if you are working in the regular Coursera environment. You should leave them just as they originally were, like this:

# URL of the white wine dataset
URI = './winequality-white.csv'

and

# URL of the red wine dataset
URI = './winequality-red.csv'

In general, you should only edit the parts of the assignment marked with # YOUR CODE HERE

Don’t worry about the submission date. That’s only a suggestion. You can take as long as you like to finish your assignments.

1 Like

Hey Wendy, wanted to thank you very much on guiding me through this assignment. I cleared the assignment today. :slight_smile:

1 Like