Lesson 1.1Free
Lists, dicts, and the types you will use
Lists, dictionaries, sets, and tuples cover almost everything before a dataframe shows up. Picking the right one is a performance decision as much as a style one.
8mBeginner31,450 students

Sign in to watch this lesson
Browsing is free. Create an account to play videos and track your progress.
Overview
Lists, dictionaries, sets, and tuples cover almost everything before a dataframe shows up. Picking the right one is a performance decision as much as a style one.
What this lesson covers
- Choose between list, dict, set, and tuple
- Index, slice, and iterate without off-by-one errors
- Understand mutability and why it bites
This lesson sits in Python Foundations for Data, 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:
- Choose between list, dict, set, and tuple
- Index, slice, and iterate without off-by-one errors
- Understand mutability and why it bites