I have a dataframe which looks like the below one. enter image description here
I\'d like to convert to below table type. Pivot? For i in ? enter image description he