Lesson 2.1

Series, dataframes, and indexing

A dataframe is columns of typed series sharing an index. Once the index clicks, selection with loc and iloc stops being guesswork.

Duration
31m
Level
Beginner
Students
27k students

Overview

A dataframe is columns of typed series sharing an index. Once the index clicks, selection with loc and iloc stops being guesswork.

In this lesson you will:

  • Create dataframes and inspect their dtypes
  • Select rows and columns with loc and iloc
  • Understand why the index matters

Resources

pandas documentation

The official reference for the tools used in this lesson.