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.

30mBeginner26,575 students
Video thumbnail for Series, dataframes, and indexing

Sign in to watch this lesson

Browsing is free. Create an account to play videos and track your progress.

Overview

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

What this lesson covers

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

This lesson sits in pandas Essentials, part of Python for Data Work. It assumes what came before it and leads directly into the next lesson in the module.

In this lesson you will:

  • Create dataframes and inspect their dtypes
  • Select rows and columns with loc and iloc
  • Understand why the index matters
Series, dataframes, and indexing — Skiply