Question: use this program to solve question B-1 and find the mean , mode and median Consider the following data related to the final scores of


use this program to solve question B-1
and find the mean , mode and median
Consider the following data related to the final scores of the four sections of a data science course: Section Clytherin: Jriffindor: Scores 95, 95, 65, 70, 65, 65, 75, 75, 75, 80. 65. 95, 75, 65, 75, 80. 65, 95, 75, 65, 95, 75, 65, 80. 65. 70. 70. 65 70. 75. 90. 75. 55. 85. 80. 80, 70, 60, 75, 75, 80, 70, 85, 95, 60, 60, 85, 65, 65. 90. 65, 75, 55. 95. 90 75. 85. 80. 85. 55. 85. 55. 85. 85. 75. 70. 85. 80. 70. 85, 80. 85. 75. 70, 85. 55. 75. 55. 55, 85 75. 75. 75. 75. 75. 75. 75. 75. 75. 75. 75. 75. 75. 75. 75. 75. 75. 75, 75, 75, 75. 75. 75. 75. 75. 75. 75 Huffiebuff: Ravenklaw: Answer the following questions: B-1: Draw the histograms of scores for each of the above sections. Take bin size as 10 imits, starting froin score 10. Dravs dach histogram in one figure. Write the title on each luistograin. * Note: Solve all the above questions using Python (not by hand). To read the data in python and repeat for each section, you can use the following code: [1] :: Data = "Jriffindor": [70, 75, 90, 75, 55, 85, 80, 80, 70, 60, 75, 75, 80, 70, 85, 95, 60, 60, 85, 65, 65, 90, 65, 75, 55, 95, 90], "Clytherin": [95, 95, 65, 70, 65, 65, 75, 75, 75, 80, 65, 95, 75, 65, 75, 80, 65, 95, 75, 65, 95, 75, 65, 80, 65, 70, 70, 65), "Hufflebuff": [75, 85, 80, 85, 55, 85, 55, 85, 85, 75, 70, 85, 80, 70, 85, 80, 85, 75, 70, 85, 55, 75, 55, 55, 85], "Ravenklaw": [75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75] for section in Data: #dictionary's default iterator is key series=Data [section] .copy() # list is mutable, so we copy to avoid chages in actual data * your code for each section end of the code for each
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
