Microsoft/vscode

Support Notebook Cell Level metadata such as Freeze/protect cell / skip execution/collapsed

Open

#237.074 aperta il 30 lug 2020

Vedi su GitHub
 (6 commenti) (39 reazioni) (1 assegnatario)TypeScript (10.221 fork)batch import
feature-requesthelp wantednotebook-executionnotebook-serialization

Metriche repository

Star
 (74.848 star)
Metriche merge PR
 (Merge medio 11h 43m) (1000 PR mergiate in 30 g)

Descrizione

Feature: Notebook Editor, Interactive Window, Python Editor cells

Description

The unofficial Jupyter notebook extension have a "Freeze" extension. I am wondering if the team can add this feature to the notebook extension. It has 3 modes:

  • Unlock: user can freely edit and execute the content of the cell
  • Read-only: user can execute but not edit the cell
  • Frozen: user can neither edit nor execute the cell

Use cases:

  • Run the entire notebook from end to end, but want to skip some cells
  • Store some core functions / parameters at a cell, and make that cell read-only to avoid changes during model tuning

Note:

Feature request in Jupyter Lab https://github.com/jupyterlab/jupyterlab/issues/4213 Extension for Jupyter lab https://github.com/DataDog/jupyterlab-freeze

Guida contributor