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.
- Consumer Marketing Research Report Assignment : Understanding Consumer Responses to Influencer Marketing Through a Literature Review and Research Proposal
- BN5.001 Inquiry for Nursing Assignment: Exploring Evidence-Based Practice, Professional Nursing Roles, and Interpersonal Communication Skills at the Novice Level
- HLTH521 Research Methods Assignment: Factors Influencing Health Service Use and Quality of Life Among Young Adults Working in the Building Industry
- Safe and Professional Practice Assignment 1 : Facilitating Forgiveness and Healing for Trauma Survivors through Faith and Wholeness
- Population Health Assignment Essay: Exploring the Intersections of Culture, Structure, and Health Equity
- MGMT316 Decision modelling for managers Assignment 1 : Forecasting and Analysis of Electronic Card Transactions in New Zealand for Strategic Investment
- BUSS509 Ethics, Responsibility, and Sustainability Assignment 1 Part 2: A Reflective Essay on Ethical Analysis and Personal Learning
- BUSS509 Ethics, Responsibility, and Sustainability Assignment 1: Ethical Analysis of Contemporary Dilemmas in Animal Testing, Self-Driving Cars, and Gene Editing
- Legal and Sociological Definitions of Crime Assignment : Contrasting Tappan’s Black Letter Law and Becker’s Deviance Theory
- 218.717 Research Methods in the Built Environment Assessment One: Literature Review Report on Current Trends, Challenges, and Research Gaps in the Construction Industry