Guided Project: Popular Data Science Questions (Solution error?)

Hi,

I was studying the solution for Step 4 - Course 5 Guided Project. I may be thinking about this wrong, but is there an error in In[12]. Shouldn’t the else statement be set to the ViewCount and not 1?

1 Like

Yes! This was incorrect, fortunately it doesn’t have a bug impact because we’re focusing on the tags with the largest view counts — in these the difference is negligible.

This has been fixed. Thank you for reporting it.