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

34 lines
702 B
Markdown
Raw Normal View History

---
id: 5e9a093a74c4063ca6f7c14e
challengeType: 11
videoId: 0kJz0q0pvgQ
---
## Description
<section id='description'>
More resources:
- <a href="https://notebooks.ai/rmotr-curriculum/freecodecamp-pandas-real-life-example-24fa5bf8" target='_blank'>Notebook</a>
</section>
## Tests
<section id='tests'>
```yml
question:
text: |
What does the <code>loc</code> method allow you to do?
answers:
- |
Retrieve a subset of rows and columns by supplying interger-location arguments.
- |
Access a group of rows and columns by supplying label(s) arguments.
- |
Returns the first <code>n</code> rows based on the integer argument supplied.
solution: 2
```
</section>