Question: Hello there, I have an error with my code and I don't understand what to do to fix this, would someone be able to correct

Hello there, I have an error with my code and I don'tHello there, I have an error with my code and I don't understand what to do to fix this, would someone be able to correct this code for me and explain their answer? Thanx :)

jupyterhub hw02 Last Checkpoint: Last Monday at 7:43 PM (autosaved) Question 1.7. What proportion of movies in our dataset were originally released in each country? Create a DataFrame indexed by 'Country' with one column called 'Proportion' containing the proportion of movies in the dataset that were released in that country. Order the rows in descending order of and assign this DataFrame to country_proportions . Hints: - Proportions can be easily calculated from counts. - If you pass in a list of columns names to . get ( ), the result will be a DataFrame containing only the columns specified in the list. Question 1.8 Create a horizontal bar chart that displays the mean 'Review Rating' for each country. Sort the bars so the country that with the lowest mean appears at the very top, and the country with the highest mean appears at the bottom. Hint: To get the bar chart to display nicely, try adding the keyword argument figsize =(10,10)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!