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

40 lines
589 B
Markdown
Raw Normal View History

---
id: 5e9a093a74c4063ca6f7c14e
challengeType: 11
videoId: 0kJz0q0pvgQ
---
# --description--
More resources:
\- [Notebook](https://notebooks.ai/rmotr-curriculum/freecodecamp-pandas-real-life-example-24fa5bf8)
# --question--
## --text--
What does the `loc` 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 `n` rows based on the integer argument supplied.
## --video-solution--
2
# --hints--
# --solutions--