作者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/cn.aspx?n=bbs/Python/M.1519669893.A.646.html
1F:→ Luluemiko: 用Spyder执行结果是正常的,有跑出一个1182*12的df 02/27 11:48