I got a dataset that looks like this : Dataset I am trying to accumulate extra columns based on the number of assessments the student has completed.
For example, the first student has completed 5 assignments so we need to accumulate a table like this : acummulated_columns
The id_assessment column is converted into A[i], based on number of len(id_assessments) of id_student and then each score is inserted to the relevant assignment.
What is the best approach tackling this ?