Question: 3b) (1 marks) Create and print a dictionary called country with team names as keys and their corresponding country as the entries. A team's win

 3b) (1 marks) Create and print a dictionary called country with

3b) (1 marks) Create and print a dictionary called country with team names as keys and their corresponding country as the entries. A team's win rate is the number of games won divided by the total number of games played 1. 3c) (1 marks) Subset the DataFrame so that it contains only the control maps. 2. 3d) (5 marks) Make a horizontal bar chart displaying the win rate on control maps of each team, order the bar chart from lowest win rate to highest rate, add a vertical line at 50%. Color the teams by country. Hint it is useful to use the sns. barplot function, set the dodge argument as follows: dodge=False and make use of the orient, hue and hue_order arguements. 3. 3e) (2 marks) Which teams have a higher than 50% win rate? Do some countries produce better teams than others? 3f) (3 marks) Make the same plot for each year - are the yearly plots similar to the overall plot

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!