Lesson 4.1

Working effectively in notebooks

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

23mBeginner16,826 students
Video thumbnail for Working effectively in notebooks

Sign in to watch this lesson

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

Overview

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

What this lesson covers

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

This lesson sits in Reproducible Workflows, 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:

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