2020-04-21 16:42:19 +00:00
---
id: 5e9a093a74c4063ca6f7c14e
title: Data Analysis Example B
challengeType: 11
videoId: 0kJz0q0pvgQ
2021-01-13 02:31:00 +00:00
dashedName: data-analysis-example-b
2020-04-21 16:42:19 +00:00
---
2020-11-27 18:02:05 +00:00
# --description--
2020-08-04 19:56:41 +00:00
2020-11-27 18:02:05 +00:00
*Instead of using notebooks.ai like it shows in the video, you can use Google Colab instead.*
2020-09-03 16:48:42 +00:00
2020-07-17 09:12:45 +00:00
More resources:
2020-09-03 16:48:42 +00:00
2020-11-27 18:02:05 +00:00
- [Notebooks on GitHub ](https://github.com/ine-rmotr-curriculum/FreeCodeCamp-Pandas-Real-Life-Example )
- [How to open Notebooks from GitHub using Google Colab. ](https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb )
2020-09-03 16:48:42 +00:00
2020-11-27 18:02:05 +00:00
# --question--
2020-04-21 16:42:19 +00:00
2020-11-27 18:02:05 +00:00
## --text--
2020-08-04 19:56:41 +00:00
2020-11-27 18:02:05 +00:00
What does the `loc` method allow you to do?
2020-04-21 16:42:19 +00:00
2020-11-27 18:02:05 +00:00
## --answers--
2020-08-04 19:56:41 +00:00
2020-11-27 18:02:05 +00:00
Retrieve a subset of rows and columns by supplying integer-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
2020-04-21 16:42:19 +00:00