mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-02-26 08:03:56 -05:00
48 lines
1.0 KiB
Markdown
48 lines
1.0 KiB
Markdown
---
|
|
id: 5e9a093a74c4063ca6f7c164
|
|
title: 解析 HTML 和保存数据
|
|
challengeType: 11
|
|
videoId: bJaqnTWQmb0
|
|
bilibiliIds:
|
|
aid: 335522976
|
|
bvid: BV1RA411F7vi
|
|
cid: 409023170
|
|
dashedName: parsing-html-and-saving-data
|
|
---
|
|
|
|
# --description--
|
|
|
|
*在视频中我们使用的编辑器工具是在 notebook.ai 这个平台,你也可以选择用其他的平台,比如说 Google Colab 也是一个不错的选择。*
|
|
|
|
更多资源:
|
|
|
|
- <a href="https://github.com/krishnatray/RDP-Reading-Data-with-Python-and-Pandas" target="_blank" rel="noopener noreferrer nofollow">在 GitHub 平台的 Notebooks</a>
|
|
- <a href="https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb" target="_blank" rel="noopener noreferrer nofollow">如何使用 Google Colab 来打开 GitHub 上的 Notebooks</a>
|
|
|
|
# --question--
|
|
|
|
## --text--
|
|
|
|
哪个 Python 库有 `.read_html()` 方法,我们可以用于解析 HTML 文档和提取表格?
|
|
|
|
## --answers--
|
|
|
|
BeautifierSoupy
|
|
|
|
---
|
|
|
|
WebReader
|
|
|
|
---
|
|
|
|
HTTP-master
|
|
|
|
---
|
|
|
|
Pandas
|
|
|
|
## --video-solution--
|
|
|
|
4
|
|
|