Two New Ways to Manage Cell Execution
Published in
2 min readJul 6, 2023
We’ve recently introduced two new features to make it easier to control how and when to run your code cells:
- The first feature gives you the ability to run a collection of cells directly from the notebook table of contents, via a “Run cells in section” option in the context menu (under the triple dots), as shown in the image above.
- The second feature gives you the ability to assign certain cells as pre-requisites for a given notebook. This is manifested via an option in the notebook settings dialog (under the Edit menu) to “Automatically run the first cell or section” when opening a notebook (see image below). If your notebook starts with a single cell, that cell will be auto-executed whenever your notebook is opened. If the notebook starts with a section, the entire first section of cells will be auto-executed on notebook open.
Hope you find these useful — let us know in the comments how you’re using them!