[問題] 網路爬蟲 使用pd.read_html時發生問題

看板Python作者 ( )時間7年前 (2018/02/27 02:31), 編輯推噓0(005)
留言5則, 3人參與, 7年前最新討論串1/1
import pandas as pd ul= pd.read_html('http://www.twse.com.tw/fund/TWT38U?response=html') 我打這個指令時 出現error: TypeError: ufunc 'add' did not contain a loop with signature matching types dtype('<U60') dtype('<U60') dtype('<U60') 請問該如何解呢 謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 111.251.199.228 ※ 文章網址: https://www.ptt.cc/bbs/Python/M.1519669893.A.646.html

02/27 11:48, 7年前 , 1F
用Spyder執行結果是正常的,有跑出一個1182*12的df
02/27 11:48, 1F

03/06 03:38, 7年前 , 2F
03/06 03:38, 2F

03/06 04:16, 7年前 , 3F
03/06 04:16, 3F

03/06 04:29, 7年前 , 4F
03/06 04:29, 4F

03/06 04:39, 7年前 , 5F
文章代碼(AID): #1Qb5A5P6 (Python)
文章代碼(AID): #1Qb5A5P6 (Python)