# setting student_id as index df.set_index('student_id', inplace=True)