Python for Data Work
LESSON 4.1

Working effectively in notebooks

Learn key techniques and workflows in Python for Data Work.

23m
beginner
16,826 students

Overview

Notebooks are excellent for exploring and terrible at hidden state. Restart and run all is the only honest test of a notebook.

In this lesson you will:

  • Structure a notebook so it reads top to bottom
  • Avoid out-of-order execution and stale state
  • Move stable code out into importable modules

Pro Tip

Use caching and revalidation wisely to ensure your app stays fast and data remains fresh without unnecessary requests.

Resources