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

40 lines
851 B
Markdown
Raw Normal View History

---
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