University | University of Auckland (UOA) |
Subject | Analytics |
On Blackboard, you will find data on movie ratings, movie metadata (genres and year), and demographic data about the users (age. zip code. gender identification, and occupation). These datasets contain I a million ratings collected from 6.000 was on 4.000 movies. It is spread across three datasets: –ratings.csv”, users.csv” and “movies.csv”. Such data is often of interest in the development of recommendations system.
In this assessment. we are going to handle these datasets and make some responses regarding movie preference by children and general audiences. Your tasks are as follows:
1. First, load each of the three datasets into pandas data frames. Once the data is loaded, verify that everything is loaded properly by looking at the first five rows of each data frame.
2. Analyzing the data spread across three tables is not a simple task. particularly when you wanted to compute statistics based on a particular variable. This is much easier to do with all of the data merged together into a single data frame. Using pandits’ merge function, merge ratings with users and then merge that result with the movies Use how-‘inner’ argument and call the new data frame as ‘merged1’. Note that the panda’s merge method requires a common column to use as the merge key.
Stuck! Do not Know Assessment Answers?
Hire NZ Native Experts 24/7.
3. In this section. we are going to focus on movies rated by the younger audience. Some of the movie ratings. however. are submitted by the audience as young as I year old. They did not know what they were doing. Hence. we want to select observations where age is between 5 and IS.
4. Using the data frame ‘merged:’, get the average movie ratings for five specific movies. Create a data frame to report the results as follows.
title | Average nine |
Dumbo 1941 | |
101 Dahnatians 1961 | |
Link Mermaid 1989 | |
Lion King 1994 | |
Toy Story 1995 |
5. Now get the total number of ratings submitted by male and female audiences for the above Similar as before. create a data frame to report the results as follows. (5]
title | Avenge tonne |
mak | female |
Denbo 1941 | |||
101 Dalmatians 1961 | |||
Little Mermaid 1989 | |||
Lion King_Tbe 1994 | |||
Toy Story 1995 |
Buy Custom Assignment & Homework Solutions
Pay to NZ Native Writers | Cheap Cost & Plag Free
6. Still using the •merged2′ data frame. calculate how many ayes of movie genres are in the damsel? What are they?
7. Between ‘children’ and ‘Fantasy’ movies, which group has the highest total number of rating submissions by users! How many is the difference?
8. Between ‘children’ and ‘Fantasy’ movies, which group has the highest average rating? %Tut is the average difference in the rating?
9. In this section. we are going to focus on movies rated by a gametal adult audience. Using the ‘merged ((macrame. select observations where age is greater than 18. Call the new data frame as ‘merged3’. Print out the average as well as the maximum age of this group of audience.
In quest for a professional assignment help?
Flexible rates compatible with everyone’s budget
Get the best urgent assignment help on Analytics. At NZ Assignment Help we have top-class professional assignment helpers who have amazing quality to craft any type of solution. Our experts work round the clock to serve you plagiarism-free answers at a discounted prices.
- ACCTG 211 Assignment 4 Answer Booklet : Semester 2 2024 – Financial accounting, UOA , NZ
- ACCTG 211 Assignment 4 : Semester 2 2024 – Financial accounting, UOA, NZ
- 605 Imaging Techniques 2, Case Study, UCOL, NZ
- BSRV4602 Law for Real Estate Licensees Assessment 1, Assignment, OP, NZ
- HSRV103: Workplace sexual harassment 2024 – Human services, Assignment, UC, NZ
- EDU618 Professional Practice 2b, Practicum Assessment 1, OP, NZ
- FSC522 The Regulatory Framework, Assessment 2, OP, NZ
- TAXN201 – Introduction to Taxation, Assignment, VUW, NZ
- Health and wellbeing (collaborative support for complex needs ), Assignment, OP, NZ
- Undertake a systematic or integrative approach to review literature on an area of nursing practice : Nursing Case Study, NZ