作者opengood5566 ( )
看板Python
標題[問題] 網路爬蟲 使用pd.read_html時發生問題
時間Tue Feb 27 02:31:31 2018
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://webptt.com/m.aspx?n=bbs/Python/M.1519669893.A.646.html
1F:→ Luluemiko: 用Spyder執行結果是正常的,有跑出一個1182*12的df 02/27 11:48