shortcut to delete cell in jupyter notebook 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: undo delete cell jupyter
ESC to enter command mode then press Z to recover the deleted cells