2021-05-05 10:13:49 -07:00
|
|
|
---
|
|
|
|
id: 5e9a093a74c4063ca6f7c164
|
2021-07-16 11:03:16 +05:30
|
|
|
title: 解析 HTML 和保存數據
|
2021-05-05 10:13:49 -07:00
|
|
|
challengeType: 11
|
|
|
|
videoId: bJaqnTWQmb0
|
2021-10-04 07:27:38 -07:00
|
|
|
bilibiliIds:
|
|
|
|
aid: 335522976
|
|
|
|
bvid: BV1RA411F7vi
|
|
|
|
cid: 409023170
|
2021-05-05 10:13:49 -07:00
|
|
|
dashedName: parsing-html-and-saving-data
|
|
|
|
---
|
|
|
|
|
|
|
|
# --description--
|
|
|
|
|
2021-07-16 11:03:16 +05:30
|
|
|
*在視頻中我們使用的編輯器工具是在 notebook.ai 這個平臺,你也可以選擇用其他的平臺,比如說 Google Colab 也是一個不錯的選擇。*
|
2021-05-05 10:13:49 -07:00
|
|
|
|
2021-07-16 11:03:16 +05:30
|
|
|
更多資源:
|
2021-05-05 10:13:49 -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-16 11:03:16 +05:30
|
|
|
- [如何使用 Google Colab 來打開 GitHub 上的 Notebooks](https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb)
|
2021-05-05 10:13:49 -07:00
|
|
|
|
|
|
|
# --question--
|
|
|
|
|
|
|
|
## --text--
|
|
|
|
|
2021-09-18 11:22:53 -07:00
|
|
|
哪個 Python 庫有 `.read_html()` 方法,我們可以用於解析 HTML 文檔和提取表格?
|
2021-05-05 10:13:49 -07:00
|
|
|
|
|
|
|
## --answers--
|
|
|
|
|
|
|
|
BeautifierSoupy
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
WebReader
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
HTTP-master
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
Pandas
|
|
|
|
|
|
|
|
## --video-solution--
|
|
|
|
|
|
|
|
4
|
|
|
|
|