我试图提取包含在
https://www.timeanddate.com/weather/netherlands/amsterdam/historic?month=8&year=2018
但是,如果我尝试简单的方法:
import pandas as pd
Ds=pd.read_html(r'http://www.timeanddate.com/weather/netherlands/amsterdam/historic?month=8&year=2018')
我得到以下错误:
TypeError: ufunc 'add' did not contain a loop with signature matching types dtype('<U82') dtype('<U82') dtype('<U82').
我已经检查过了,如果我看html源代码,兴趣表是可见的
<table id="wt-his" class="zebra tb-wt fw va-m tb-hover sticky-en">
如何使用熊猫提取表格?你知道吗
不可生产,使用Python3。你知道吗
相关问题 更多 >
编程相关推荐