推 TuCH: 你是用python2嗎 python3應該可以支援中文吧 01/23 16:29
→ yimean: Python 3.6 我用原生的CSV module都沒問題 01/23 17:05
→ yimean: 最後我還是用笨方法 open csv去作,雖然要多寫幾行,但是 01/23 17:07
→ yimean: 可以支援中文內容跟路徑。 01/23 17:07
→ kenduest: 所以你的程式碼?Pandas 搭配中文沒問題啊.. 01/23 22:27
→ yimean: @k大我的IDE是VS2017 01/24 10:40
推 kenduest: csv 檔案哪種編碼? big5 or utf8 ? 01/24 18:53
→ kenduest: pandas 一般支援 read_xxx() 時候傳 encoding 參數編碼 01/24 18:54
→ kenduest: 另外不確定你的 ide 部分,擔心一般用 powershell 01/24 18:55
→ kenduest: 開啟 shell, 預設 utf8 環境方式測試 01/24 18:55
推 HenryLiKing: 他的...只是為了不讓太大的輸出變形而故意改的吧(? 01/25 08:40