how to clear all cells in jupyter notebook code example
Example: how to clear all cells in jupyter notebook
Press Esc to enter command mode.
Hold Shift . Select the first and last cells to select all cells. *
Press d twice to delete all selected cells.