Jupyter notebook run all code between two cells

Viewed 1089

Is there a way on Jupyter notebook to run the code between two specific cells? For instance, suppose that I have 100 cells and I want to run only cells from 35 to 60. I don't want to run everything again from 1 to 60 because, for instance, the cells from 1 to 34 might require a long time to execute.

1 Answers

You can use shift+K to select the cells (upward direction)/ shift+J (downward direction) and then Ctrl+Enter to execute

Related