I have a dataset as below and want to check the ranking of students as time goes by.
df = pd.DataFrame({\'Name\' : [\'Bob\',\'Kerry\',\'Tory\',\'Bob\',\'Kerry\',\