Write a function to receive any name as input, search the director only and return the...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Write a function to receive any name as input, search the director only and return the number of movies/ TV shows that contain that name. Your function should meet the following requirements: • Your function should receive any name as an input string and return a simple message with the number of movies/TV shows that contain those names. E.g. There are [5] directors named [supplied name] in this dataset. If the name supplied were not found in the database, return the message No directors were found with the name: [supplied name]. Remember to deal with whatever letter case you are supplied i.e. all caps or all lowercase, etc. Test your function with the word Paul and confirm that your result reads There are [67] directors named [Paul] in this dataset. Identify the most common words in the description of TOP TEN LONGEST MOVIES ONLY from the dataset. Please write down the 20 most common words you identify from the description of top ten longest movies. Hint: Remember that you are only interested in the top 10 longest movies. You will have to go online and FIND OUT HOW TO DO THIS! Find and use the learning resources out there on the internet and modify them for your purpose. Make sure to Include links/references you consulted to your final submission. Write a function to receive any name as input, search the director only and return the number of movies/ TV shows that contain that name. Your function should meet the following requirements: • Your function should receive any name as an input string and return a simple message with the number of movies/TV shows that contain those names. E.g. There are [5] directors named [supplied name] in this dataset. If the name supplied were not found in the database, return the message No directors were found with the name: [supplied name]. Remember to deal with whatever letter case you are supplied i.e. all caps or all lowercase, etc. Test your function with the word Paul and confirm that your result reads There are [67] directors named [Paul] in this dataset. Identify the most common words in the description of TOP TEN LONGEST MOVIES ONLY from the dataset. Please write down the 20 most common words you identify from the description of top ten longest movies. Hint: Remember that you are only interested in the top 10 longest movies. You will have to go online and FIND OUT HOW TO DO THIS! Find and use the learning resources out there on the internet and modify them for your purpose. Make sure to Include links/references you consulted to your final submission.
Expert Answer:
Answer rating: 100% (QA)
To achieve the first part of your request you can use Python to search for directors names in a dataset and count how many times the supplied name app... View the full answer
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date:
Students also viewed these programming questions
-
Explain what a bank needs in order to make a loan. How would you calculate whether the bank has what it needs to make a loan?
-
What is the age of the oldest known caldera associated with the Yellowstone hotspot?
-
The Crazy Eddie fraud may appear smaller and gentler than the massive billion-dollar frauds exposed in recent times, such as Bernie Madoffs Ponzi scheme, frauds in the subprime mortgage market, the...
-
1. Dependence of business on environment (Define) 2. Business and environment ethics (Define) 3. Ethical behaviour includes 1) 2) 3) Business and Ecological (environmental ethics)
-
The graph of f is given. State, with reasons, the numbers at which f is not differentiable. 6. 8. 10 12 *
-
Question 17: Task 17: Role play See detailed handout on the exemplar report and its background Read and discuss the report in small groups Discussion in full group: Audience Structure Data and...
-
In a group of 160 graduate engineering students, 92 are enrolled in an advanced course in statistics, 63 are enrolled in a course in operations research, and 40 are enrolled in both. How many of...
-
In the early part of 2015, the partners of Hugh, Jacobs, and Thomas sought assistance from a local accountant. They had begun a new business in 2014 but had never used an accountants services. Hugh...
-
(5 points) A memory hierarchy has following hit rates and average access time of CPU. Calculate the last hit rate. Hit Rate Average Access Time of CPU (ns) 0.75 25 0.85 20 ??? 15
-
Major Project - Andrew Best - Best Business Solutions Incorporated (BBSI) Andrew Best was a very inquisitive child growing up. He was a great student in school and always asked a lot of questions....
-
Consider a unity feedback control system with the transfer function G(s) in the forward path. For each of the following transfer functions, sketch the root locus as K varies from 0 to and find the...
-
Business intelligence software supports decision making by presenting visual, interactive views of the state of a business. True or False
-
In what stage in the product life cycle would you consider Tesla automobiles to be? a. Introduction b. Growth c. Maturity d. Decline
-
Siobhan Clark just bought a Chicago Cubs jersey with player Jon Lesters name and number on the back, as well as a hat and jacket that display the Cubs logo. The type of branding strategy used for...
-
Sally and Brian only go shopping on Tuesdays because they can get the senior discount. Which pricing strategy are they taking advantage of? a. Predatory pricing b. Price discrimination c. Target...
-
How can consumers know if its safe to use their credit cards to make a purchase?
-
tiple choice questions: 1. Molecular markers are used to construct. a. Genetic map b. Cytogenetic map c. Physical map d. All of these 2. Molecular markers are used to a. Identify specific proteins b....
-
Use a calculator to evaluate the expression. Round your result to the nearest thousandth. V (32 + #)
-
Sally and Charles Heck received the following dividends and interest during 2012: Assuming the Hecks file a joint tax return, complete Schedule B of Form 1040 (on page 2-33) for them for the 2012 tax...
-
Sally hires a maid to work in her home for $250 per month. The maid is 25 years old and not related to Sally. During 2012, the maid worked 10 months for Sally. a. What is the amount of Social...
-
Kent Pham, CPA, is a 45-year-old single taxpayer living at 169 Trendie Street, La Jolla, CA 92037. His Social Security number is 865-68-9635. In 2012, Kent's W-2 as the controller of a local...
-
The PCAOB ended the self-regulation of the external auditing profession. True/false
-
The National Crisis Inquiry Report (2011) concluded that the financial crisis was unavoidable. True/false
-
External auditors collect consulting fees from the same clients they perform independent audits for, which allows good and close relationship with the clients. True/false
Study smarter with the SolutionInn App