jupyter shortcut delete a cell code example
Example 1: delete cell in jupyter notebook
D+D(press the key twice when you are in command mode) to delete the selected cell.
Example 2: Delete cell in jupiter notebook
Shift-d: delete cell(press twice)