Back to Freecodecamp

Data Analysis Example B

curriculum/challenges/english/blocks/data-analysis-with-python-course/5e9a093a74c4063ca6f7c14e.md

latest872 B
Original Source

--description--

Instead of using notebooks.ai like it shows in the video, you can use Google Colab instead.

More resources:

  • <a href="https://github.com/ine-rmotr-curriculum/FreeCodeCamp-Pandas-Real-Life-Example" target="_blank" rel="noopener noreferrer nofollow">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 nofollow">How to open Notebooks from GitHub using Google Colab.</a>

--questions--

--text--

What does the loc 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 n rows based on the integer argument supplied.

--video-solution--

2