Question: Python programming Problem 1. Top Movies and Actors This problem is about analyzing data from IMDB lists with top rated and top grossing movies There
Python programming



Problem 1. Top Movies and Actors This problem is about analyzing data from IMDB lists with top rated and top grossing movies There are these files linked from the Homework 4 Canvas page imdb.top-rated.csv, listing the ranking of the top rated 250 movies. It has this format: Rank,Title,Year,IMDB Rating imdb-top-grossing.csv, listing the ranking of the highest grossing 250 movies. It has this format: Rank, Title, Year,USA Box Office 1mdb-top-casts.csv, listing the director and cast for the movies in the above files. It has this format: Title, Director, Actor 1, Actor 2, Actor 3, Actor 4, Actor 5. The actors are listed in billing order. This file does not have a heading. . These files are from Duke U. and seem to date from 2014. Write a program in file pl.py that does the following: a) Displays a ranking (descending) of the movie directors with the most movies in the top rated list. Print only the top 5 directors, with a proper title above. b) Displays a ranking (descending) of the directors with the most movies in the top grossing list. Print only the top 5 directors, with a proper title above. c) Displays a ranking (descending) of the actors with the most movie credits from the top rated list. Print only the top 5 actors, with a proper title above. d) Displays a ranking (descending) with the actors who brought in the most box office money, based on the top grossing movie list. For a movie with gross ticket sales amount s, the 5 actors on the cast list will split amount s in the following way: Actor # 1(first billed) 2 SS per actor 16*s/31 3 4 8*s/31 4 s/31 2*s/31 s/31 or pairs, withapoper tile above
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
