As per usual, grab the activity2
directory by running the
following commands in your workbook folder:
git fetch release
git merge release/activity2 master -m "merge"
Make sure you do all of your work for this assignment within this new directory.
Using this week's dataset, deomgraphics by major at Illinois, find the current and historic gender diversity for each major. To do this, you will need to find the percentage of students who are female (%female) in the major and record four things:
Using Python, create a program that stores this informaiton about each
major as a list of dictionaries. As an example, each element of the list
should contain a dictionary similar to the following:
{"major": "Biology",
"max_female_pct": 0.586,
"min_female_pct": 0.515,
"current_female_pct": 0.586 }
You should print out this list at the end of your program. Feel free to sort it in any way.
This activity is submitted digitally via git. View detailed submission instructions here.