I would like to know how to run all cells (from the beginning of the notebook) and stop at the cell that's selected (do not want to run ALL cells..) on Google-Colab. Is this possible?
2 Answers
Yes, it is possible.
Just select the cell and click on Runtime > Run before
in the toolbar at the top of the notebook. Runtime > Run before
runs all the cells from the beginning of the notebook until the selected cell (not included).
Another way is to select all the cells you want to run and click on Runtime > Run selection
.
Hope it helps!
-
1Thanks ninjin! Exactly what I looked for, I could also see that
CTRL+F8
achieves the same– NadavNov 21, 2019 at 12:48
To run all cells above you can use this shortcut: Ctrl + F8.
Or manually: Runtime > Run before.