Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 InStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started