Question: Need help with Python Pandas library. Need to find top 10 most rated movies for a group age. data files can be downloaded here: https://www.dropbox.com/s/5w7em43m7bukvvc/movielens%20%282%29.zip?dl=0
Need help with Python Pandas library. Need to find top 10 most rated movies for a group age. data files can be downloaded here:
https://www.dropbox.com/s/5w7em43m7bukvvc/movielens%20%282%29.zip?dl=0

(A) What are the 10 most rated movies for group age 18? (15 points) (B) What are the 10 highest average rating movies for group age 18? (15 points) Answer Q2,A In [103]: # write your code here most rated 18-df[ (ur.age18)& (ur.rating - 5) ] most rated 18.movie id.head (9) Anr 18top10. head (9) Out[ 103]: 1940 2987 2989 2622 1683 3793 2993 1185 1259 1907 1941 1942 1946 1950 1952 1953 1954 1960 Name: movie_id, dtype: int64 In (A) What are the 10 most rated movies for group age 18? (15 points) (B) What are the 10 highest average rating movies for group age 18? (15 points) Answer Q2,A In [103]: # write your code here most rated 18-df[ (ur.age18)& (ur.rating - 5) ] most rated 18.movie id.head (9) Anr 18top10. head (9) Out[ 103]: 1940 2987 2989 2622 1683 3793 2993 1185 1259 1907 1941 1942 1946 1950 1952 1953 1954 1960 Name: movie_id, dtype: int64 In
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
