df:
job_Id Company_Name Min_Salary
1 X 50
2 X 12
3 X 45
1 y 63
2 y 75
3 y 25
df_output:
job_Id X y
1 50 63
2 12 75
3 45 25
I need to unstack my dataframe as i showed in the above example. I tried unstack func but i am not able to use properly.