viewof select = Inputs.select(
d3.sort([
"---", "Audrey", "Tristan", "Matt", "Cameron", "Logan", "Joe", "Nicholas", "Dorsey", "Laiza", "Sophie", "Kiko", "Aaron", "Sofia", "Tai", "Michael", "Simon", "Kyle", "Stephen"
])
.map((name, i) => [name, i]),
{ format: (a) => a[0] }
)
Eigen-rating Lab
In this lab, you’re going to compute eigenrankings for some NCAA basketball conference from last year. This lab is a little different from our past labs, though, as I haven’t created a notebook for you. Instead, you need to create a notebook and get the appropriate code from our EigenRating page.
I will help you get started, though! After you’ve created your notebook, your next step is to choose your name from the following list to get your data:
After you’ve created your notebook and grabbed the data, you should upload it to your workspace and then read it into your session via pandas. At that point, your notebook should look something like so:
I will help you get to that point; it will be your responsibility to parse the code in the EigenRatings page to create your rankings.
The task
To be clear, my final ranked ratings created in this code-block and look something like so:
You want to get to that point for your data! In addition, your notebook should be well formatted including at least
- A title,
- Your name,
- Your assigned conference,
- Short indication of what each code block is doing.
After you’ve got your notebook to that point, you turn it in by sharing it with me.