Normalizing student grades against median
You are given a dataframe containing student information, named df (shown below). Suppose you want to normalize each student's grade based on the group's median age.
Write a function using Python (Pandas) that will add a new column to your dataframe containing a new grade normalized against the median age of the students.
Subscribe to premium account to see the solution.Get premium now