pandas.read_html()返回错误

发布于 2025-02-13 18:06:30 字数 346 浏览 2 评论 0原文

我正在网上关注Pandas课程,并查看讲师很容易导入一张表:

import pandas as pd
url= 'https://en.wikipedia.org/wiki/1976_Summer_Olympics_medal_table'
pd.read_html(url,header=0)

当我尝试时,我会遇到错误: errors

这是Anaconda问题吗?我有一个朋友从他的计算机上尝试一下,效果很好。

I'm following a pandas course online and see the instructor easily import a table with:

import pandas as pd
url= 'https://en.wikipedia.org/wiki/1976_Summer_Olympics_medal_table'
pd.read_html(url,header=0)

When I try it, I get errors:
errors

Is this an Anaconda issue? I had a friend try it from his computer and it worked just fine.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

摇划花蜜的午后 2025-02-20 18:06:30

多亏了7shoe指出了互联网问题,我决定使用VPN。这修复了错误。

Thanks to 7shoe pointing out an internet issue, I decided to use a VPN. This fixed the errors.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文