[問題] 樞紐分析+排序
請教各位一個問題,我在使用樞紐分析pivot_table,結果出來是沒問題的,但是接著我想
把樞紐分析的結果,再對某欄做排序,使用.sort_value,結果卻跑不出來,顯示#check
for duplicates , key error 顯示欄位表頭,想請問樞紐分析的結果要如何再排序呢?
謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 42.72.11.94
※ 文章網址: https://www.ptt.cc/bbs/Python/M.1537323863.A.D29.html
※ 編輯: buyoption (42.72.11.94), 09/19/2018 10:24:47
※ 編輯: buyoption (42.72.11.94), 09/19/2018 10:25:10
→
09/19 17:30,
5年前
, 1F
09/19 17:30, 1F
→
09/19 17:30,
5年前
, 2F
09/19 17:30, 2F
推
10/18 02:37,
5年前
, 3F
10/18 02:37, 3F