mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-01-11 03:02:31 -05:00
44 lines
1.1 KiB
Markdown
44 lines
1.1 KiB
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 也是一个不错的选择。*
|
|
|
|
更多资源:
|
|
|
|
- <a href="https://github.com/ine-rmotr-curriculum/FreeCodeCamp-Pandas-Real-Life-Example" target="_blank" rel="noopener noreferrer nofollow">在 GitHub 平台的 Notebooks</a>
|
|
- <a href="https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb" target="_blank" rel="noopener noreferrer nofollow">如何使用 Google Colab 来打开 GitHub 上的 Notebooks</a>
|
|
|
|
# --question--
|
|
|
|
## --text--
|
|
|
|
`loc` 方法允许您做什么?
|
|
|
|
## --answers--
|
|
|
|
通过提供整数位置参数来获取一个行和列的子集。
|
|
|
|
---
|
|
|
|
通过提供标签参数来访问一组行和列。
|
|
|
|
---
|
|
|
|
根据提供的整数参数返回前 `n` 行。
|
|
|
|
## --video-solution--
|
|
|
|
2
|
|
|