I have a problem in dealing with some indexes and columns of pd.DataFrame
.I have a DataFrame with duplicated indexes and I want to change the duplicated index to columns.
This is Dataframe:
As you see, the columns item have duplicated words,I wanna change the dataframe like this:
thank you very much