Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

(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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Pro SQL Server Administration

Authors: Peter Carter

1st Edition

1484207106, 9781484207109

More Books

Students also viewed these Databases questions

Question

4. Did you rethink your decision?

Answered: 1 week ago

Question

Why do HCMSs exist? Do they change over time?

Answered: 1 week ago