The problem is in the line for n_ratings: n_ratings = float(app[5])
app[5] is referencing the price column of ios_english. You will want to change this to app[6] to get the ratings.
I think the dataset that’s downloadable from Kaggle is slightly different than the one used within the guided project on Dataquest and in the solution notebook. There seems to be an extra column at the beginning with index numbers. You can spot it when you go to the beginning of your code where you explored the first few lines of the ios dataset and compare it to what is in the solution notebook.
April is probably right. I am unable to reproduce your values using your notebook, Phil.
I’m potentially using different files, though. Can you also provide the datasets you’re using, if you still can’t figure it out? I know you mention where to get them in your notebook, but Kaggle wants my personal information, I can’t be bothered with that