Pandas dataframe transpose row and header with duplicate first column values
I 开发者_开发百科have a dataframe that looks like this
I would like to rearrange the dataframe so that for each cell on the first column, it has 27 columns by transpose the row and header. It is hard to describe but the desired output should look like:
精彩评论