Facing this problem with the realignment of a Dataframe in Python
The data I have is like this,
enter image description here
But how I would want to realign