notebook-structure

Jupyter notebooks are JSON documents with this high-level shape:

Notebook Structure

Jupyter notebooks are JSON documents with this high-level shape:

When editing .ipynb files programmatically:

Prefer scaffolding from the bundled templates or new_notebook.py (for example, $CODEX_HOME/skills/jupyter-notebook/scripts/new_notebook.py) instead of hand-authoring raw notebook JSON.