Lesson 1.18mBeginner31.4k studentsFree preview

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.

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

Resources