I have the following df in python:
Course |Student 1 | Student 2 | Student 3
--------|----------|-----------|---------
Course2 | 1.1 | empty | empty
Course2 | empty | 5.3 | empty
Course2 | empty | empty | 4.2
However, I want to have the following df:
Course |Student 1 | Student 2 | Student 3
--------|----------|-----------|---------
Course2 | 1.1 | 5.3 | 4.2
How can I do this?