如何转置数据框中的特定列并获取 Pandas 中其他列的计数 [英]How to transpose specific columns in a dataframe and get counts for other columns in Pandas