350-5 Guided Project: Profitable App Profiles for the App Store and Google Play Markets

Keep getting 9311 answer even after copying all code from solution. Where can be a problem? Thank you.

Hi @Nikol! Welcome to the forums.

Your question isn’t clear to me because that guided project is massive! Could you be more specific about where you’re getting “9311”.

github com/dataquestio/solutions/blob/master/Mission350Solutions.ipynb

Removing Duplicate Entries

answer in solution - Number of rows: 9659
my answer( even with the same code for all cells) -Number of rows: 9311

Oh, I found an error.
It was

for app in android:
name = app[0]
n_reviews = float(app[3])

if name in reviews_max and reviews_max[name] < n_reviews:
    **reviews_max[name] += n_reviews**
    
elif name not in reviews_max:
    reviews_max[name] = n_reviews

instead of reviews_max[name] = n_reviews

2 Likes