44 lines
998 B
Markdown
44 lines
998 B
Markdown
---
|
|
id: 5e9a093a74c4063ca6f7c14e
|
|
title: 數據分析 案例 B
|
|
challengeType: 11
|
|
videoId: 0kJz0q0pvgQ
|
|
bilibiliIds:
|
|
aid: 505593432
|
|
bvid: BV1kg411c7M6
|
|
cid: 409003530
|
|
dashedName: data-analysis-example-b
|
|
---
|
|
|
|
# --description--
|
|
|
|
*在視頻中我們使用的編輯器工具是在 notebook.ai 這個平臺,你也可以選擇用其他的平臺,比如說 Google Colab 也是一個不錯的選擇。*
|
|
|
|
更多資源:
|
|
|
|
- [在 GitHub 平臺的 Notebooks](https://github.com/ine-rmotr-curriculum/FreeCodeCamp-Pandas-Real-Life-Example)
|
|
- [如何使用 Google Colab 來打開 GitHub 上的 Notebooks](https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb)
|
|
|
|
# --question--
|
|
|
|
## --text--
|
|
|
|
`loc` 方法允許您做什麼?
|
|
|
|
## --answers--
|
|
|
|
通過提供整數位置參數來獲取一個行和列的子集。
|
|
|
|
---
|
|
|
|
通過提供標籤參數來訪問一組行和列。
|
|
|
|
---
|
|
|
|
根據提供的整數參數返回前 `n` 行。
|
|
|
|
## --video-solution--
|
|
|
|
2
|
|
|