This function searches for <table> elements and only for <tr> and <th> rows and <td> elements within each <tr> or <th> element in the table. <td> stands for “table data”.
This function will always return a list of DataFrame or it will fail, e.g., it will not return an empty list.
正如我在上面的评论中提到的,
df[0]
只是指由pd.read_html()
返回的数据帧列表(df
)中的第一个数据帧(索引0
),每个docs:相关问题 更多 >
编程相关推荐