Question: Percent of a Grade Write the Python code to find the percentage of B - s given in EVERY section of every course at Illinois.
Percent of a Grade
Write the Python code to find the percentage of Bs given in EVERY section of every course at
Illinois.
The percentage of Bs must be added into a new column called Percent B The percentage
should be left as a decimal number between and For example, if s were given and
there were students in the class, the Percent B would be equal to
You can create extra columns if needed, only Percent B will be graded.
The columns available in the GPA dataset includes:
Year: The year the course was offered
Term: The semester that the course was offered
YearTerm: A combination of the year and term
Subject: The name of the subject that the course falls under for ex "ACCY", CS etc.
Number: The numeric level of the course ie or
Course Title: The name of the course
Sched Type: The course format ie LCD, LEC, ONL
A A A B B B C C C D D D F W: Each Grade is a column on its own that
represents the number of that particular grade for each course ie represents the
number of As per course
Primary Instructor: The primary instructor of each course
Students: The number of students per course
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
