Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

image text in transcribed

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Securing SQL Server Protecting Your Database From Attackers

Authors: Denny Cherry

3rd Edition

0128012757, 978-0128012758

More Books

Students also viewed these Databases questions

Question

Determine the roles of spatial layout and functionality.

Answered: 1 week ago

Question

Be familiar with the basic ways to manage capacity.

Answered: 1 week ago