I wanted to arrange my table from excel as shown in "Input" into the table as shown in "Output" using pandas. I have no idea how to start. Kindly assist