回答編集履歴
1
選手名の重複があったのでチームを追加
answer
CHANGED
@@ -18,5 +18,5 @@
|
|
18
18
|
|
19
19
|
df = pd.concat([df1, df2, df3])
|
20
20
|
|
21
|
-
df.pivot_table(index="選手名", columns="年")
|
21
|
+
df.pivot_table(index=["選手名", "チーム"], columns="年")
|
22
22
|
```
|