Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Help! Please help me with this python homework! Thank you so much!! And there are the two links used in the homework. http://www.ncaa.com/rankings/basketball-men/d1caa-mens-basketball-rpi http://www.sports-reference.com/cbb/seasons/2018-school-stats.html 2018/10124
Help! Please help me with this python homework! Thank you so much!!
And there are the two links used in the homework.
http://www.ncaa.com/rankings/basketball-men/d1caa-mens-basketball-rpi
http://www.sports-reference.com/cbb/seasons/2018-school-stats.html
2018/10124 HW Homework 9 In : # Run this cell first. Do NOT edit this cell Answer! = Answer2 = Answer3 = Answer4 = None import pandas import numpy import requests import bs4 import nose. tools Problem 1. Its march madness! Everyone likes to argue about which conference is best. To shed some light, scrape data (using python and the Requests and BeautifulSoup libraries) from this website (htt In Answer1, return a DataFrame of the extracted School, Conference, and Rank for all 351 schools, sorted by rank from best to worst. Tn: # Problem ! # YOUR CODE WERE raise Not ImplementedError O Answerl In # Problem 1 autograder-run me nose. tools. assert_is_instance (Answerl, pandas, DataFramc) nose. Lools. assert tuple Answer1. shape, (351, 3)) nose. tools. assert 1ist equal (list (Answerl.colus), 'School, Conference, Rank1) nose. tools. assert true (Answerl. Rank. is_monotonic_increasing) # autograder hidden tests passed Problem 2. Which conference is best? To settle the issue, use the data from Problem 1 to compute the mearn Rank for each Conference In Answer2, return a Series of the mean Ranks, indexed by Conference, sorted best to worst. # Problem 2 # YOUR CODE HERE raise NotImplementedError 0 Answer2 113 2018/10124 HW Homework 9 In : # Run this cell first. Do NOT edit this cell Answer! = Answer2 = Answer3 = Answer4 = None import pandas import numpy import requests import bs4 import nose. tools Problem 1. Its march madness! Everyone likes to argue about which conference is best. To shed some light, scrape data (using python and the Requests and BeautifulSoup libraries) from this website (htt In Answer1, return a DataFrame of the extracted School, Conference, and Rank for all 351 schools, sorted by rank from best to worst. Tn: # Problem ! # YOUR CODE WERE raise Not ImplementedError O Answerl In # Problem 1 autograder-run me nose. tools. assert_is_instance (Answerl, pandas, DataFramc) nose. Lools. assert tuple Answer1. shape, (351, 3)) nose. tools. assert 1ist equal (list (Answerl.colus), 'School, Conference, Rank1) nose. tools. assert true (Answerl. Rank. is_monotonic_increasing) # autograder hidden tests passed Problem 2. Which conference is best? To settle the issue, use the data from Problem 1 to compute the mearn Rank for each Conference In Answer2, return a Series of the mean Ranks, indexed by Conference, sorted best to worst. # Problem 2 # YOUR CODE HERE raise NotImplementedError 0 Answer2 113
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started