Question: Write a function to receive any name as input, search the director only and return the number of movies/ TV shows that contain that
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.
Step by Step Solution
3.36 Rating (140 Votes )
There are 3 Steps involved in it
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 full answer
Get step-by-step solutions from verified subject matter experts
