Project 2: Explain

Screen Link:
https://app.dataquest.io/m/350/guided-project%3A-profitable-app-profiles-for-the-app-store-and-google-play-markets/11/most-common-apps-by-genre-part-three

Why choose -5 as the index same goes to google_final which has the index of 1. I try checking using different indexing but i seem not to understand the outputs. Please i need a little explanation with regards to which index to choose

As far as I remember the project, this function was created in order to be able to analyze different columns. In your example, the column with the index -5 (fifth from the end) refers to genre column in apple_apps dataset.
The 2 datasets are structured somewhat differently and in the google_apps dataset the genre column has got the index 1(it’s the second column from starting the beginning )

Thanks You. It is clear now

1 Like