在熊貓數據框中轉換列,同時保持其他列完整無缺 [英]Transposing a column in a pandas dataframe while keeping other column intact with duplicates