如何将HTML表转换为Pandas DataFrame [英] How to convert a html table into pandas dataframe

查看:459
本文介绍了如何将HTML表转换为Pandas DataFrame的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

pandas 提供了有用的 to_html()来转换 DataFrame 放入 html表。是否有任何有用的功能可以将其读回 DataFrame

pandas provides an useful to_html() to convert the DataFrame into the html table. Is there any useful function to read it back to the DataFrame?

推荐答案

read_html 实用程序在pandas 0.12中发布

The read_html utility released in pandas 0.12

这篇关于如何将HTML表转换为Pandas DataFrame的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆