如何轉置數據框中的特定列並獲取 Pandas 中其他列的計數 [英]How to transpose specific columns in a dataframe and get counts for other columns in Pandas