Indexing problem on Colab (works on Jupyter)

This is for Data Analyst in Python: Python Guided Project 1

Summary

Weird error: Colab is indexing incorrectly but only with android data set.

I am using Colab instead of Jupyter. I did the assignemt first in Jupyter but decided to shift to Colab and started the project again for more practice. The function that’s being weird worked well with Jupyter running the same dataset on my Ubuntu installation (server).

Detail

I have put everything here: https://github.com/holiday-scott/bugs/blob/main/index_problem.ipynb

It works through the specific problem and shows the error.

Plea

It’s doing my head in. Please help!

You are missing step-3

https://app.dataquest.io/m/350/guided-project%3A-profitable-app-profiles-for-the-app-store-and-google-play-markets/3/deleting-wrong-data

You suppose to remove wrong observation from dataset. Which is causing the error.

2 Likes

I should have done that to the data set already.

I re-ran all the functions today…OK, let me go back and check that!

1 Like

You’re right! I needed to delete that row again. I had commented it out so it didn’t keep repeating rows.

I’m an idiot.

Thank you!