The Kernel: Why Run Order Matters

A notebook's kernel remembers every name its cells made, in the order they ran rather than the order on the page, so a cell run twice or a deleted cell's variable gives answers the file can't reproduce; execution counts show the real order, Restart and Run All gives the file's true answers, the Variables view lists what the kernel remembers, and Interrupt stops a cell that runs too long.

By

Updated

Cheat sheet: The Kernel: Why Run Order Matters
Category
Data Analysis
Level
Apprentice
Tags
Execution Count, Kernel (python), NameError, python, Restart and Run All