Files
freeCodeCamp/curriculum/challenges/chinese-traditional/08-data-analysis-with-python/data-analysis-with-python-course/data-analysis-example-b.md

40 lines
851 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
id: 5e9a093a74c4063ca6f7c14e
title: 數據分析 案例 B
challengeType: 11
videoId: 0kJz0q0pvgQ
dashedName: data-analysis-example-b
---
# --description--
*您可以使用 Google Colab而不是像視頻中顯示的那樣使用 notebooks.ai。*
更多資源:
- [在 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