40 lines
1.1 KiB
Markdown
40 lines
1.1 KiB
Markdown
---
|
|
id: 5e9a093a74c4063ca6f7c14e
|
|
title: Data Analysis Example B
|
|
challengeType: 11
|
|
videoId: 0kJz0q0pvgQ
|
|
---
|
|
|
|
## Description
|
|
|
|
<section id='description'>
|
|
<em>Instead of using notebooks.ai like it shows in the video, you can use Google Colab instead.</em>
|
|
|
|
More resources:
|
|
|
|
- <a href="https://github.com/ine-rmotr-curriculum/FreeCodeCamp-Pandas-Real-Life-Example" target="_blank" rel="noopener noreferrer">Notebooks on GitHub</a>
|
|
- <a href="https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb" target="_blank" rel="noopener noreferrer">How to open Notebooks from GitHub using Google Colab.</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 integer-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>
|