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

702 B

id challengeType videoId
5e9a093a74c4063ca6f7c14e 11 0kJz0q0pvgQ

Description

More resources: - Notebook

Tests

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