I had input in below format:
Expected output is in below format:
I tried using pandas data frame to format the data & used the normalize techniques but it didn't work as per expectation.
So posting here with my input & output images
if need a copy then please copy from below


If you have an excel file, you can use the code below:
Output:
Note: you should provide a link to your data or any way to reproduce your input.