2020-08-13 12:00:20 +02:00
|
|
|
---
|
|
|
|
id: 5e9a093a74c4063ca6f7c164
|
2021-07-15 13:04:11 +05:30
|
|
|
title: 解析 HTML 和保存数据
|
2020-08-13 12:00:20 +02:00
|
|
|
challengeType: 11
|
|
|
|
videoId: bJaqnTWQmb0
|
2021-10-04 07:27:38 -07:00
|
|
|
bilibiliIds:
|
|
|
|
aid: 335522976
|
|
|
|
bvid: BV1RA411F7vi
|
|
|
|
cid: 409023170
|
2021-01-13 03:31:00 +01:00
|
|
|
dashedName: parsing-html-and-saving-data
|
2020-08-13 12:00:20 +02:00
|
|
|
---
|
|
|
|
|
2020-12-16 00:37:30 -07:00
|
|
|
# --description--
|
2020-08-13 12:00:20 +02:00
|
|
|
|
2021-07-15 13:04:11 +05:30
|
|
|
*在视频中我们使用的编辑器工具是在 notebook.ai 这个平台,你也可以选择用其他的平台,比如说 Google Colab 也是一个不错的选择。*
|
2020-12-16 00:37:30 -07:00
|
|
|
|
2021-07-15 13:04:11 +05:30
|
|
|
更多资源:
|
2020-12-16 00:37:30 -07:00
|
|
|
|
2021-10-04 07:27:38 -07:00
|
|
|
- [在 GitHub 平台的 Notebooks](https://github.com/krishnatray/RDP-Reading-Data-with-Python-and-Pandas)
|
2021-07-15 13:04:11 +05:30
|
|
|
- [如何使用 Google Colab 来打开 GitHub 上的 Notebooks](https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb)
|
2020-12-16 00:37:30 -07:00
|
|
|
|
|
|
|
# --question--
|
|
|
|
|
|
|
|
## --text--
|
|
|
|
|
2021-09-18 11:22:53 -07:00
|
|
|
哪个 Python 库有 `.read_html()` 方法,我们可以用于解析 HTML 文档和提取表格?
|
2020-12-16 00:37:30 -07:00
|
|
|
|
|
|
|
## --answers--
|
|
|
|
|
|
|
|
BeautifierSoupy
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
WebReader
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
HTTP-master
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
Pandas
|
|
|
|
|
|
|
|
## --video-solution--
|
|
|
|
|
|
|
|
4
|
|
|
|
|