Followup Investigation on Fandango Movie Ratings

Hi People,
Attached is my analysis of Fandango Movie ratings. I had a great time on this particular project. I wanted you to help me review it, if you have any comments give me feedback.
Then I was I worked I ran into a technical error (/dataquest/system/env/python3/lib/python3.4/site-packages/ipykernel/main.py:1: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.) Basics (3).ipynb (129.8 KB) that I worked on but failed to get through though my notebook kept running. I really need some help with dealing with such errors.

https://app.dataquest.io/m/288/guided-project%3A-investigating-fandango-movie-ratings/8/next-steps



Click here to view the jupyter notebook file in a new tab

Hi, This is a job well done!!

As for the technical error you mentioned, it traces back to code cells 12 and 13.
Add .copy() to the end of the code in each cells, then restart and run all cells

hickey_rates = hickey[['FILM', 'Fandango_Stars', 'Fandango_Ratingvalue', 'Fandango_votes', 'Fandango_Difference']].copy()

dataquest_rates = dataquest[['movie', 'year', 'fandango']].copy()

That should fix it!

1 Like