jupyter delete cell shortcut 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: jupyter notebook insert cell

# Basic syntax (two options):
option + enter # Run cell and insert cell below
b	# Select cell + b (i.e. don't have cursor inside the cell)

Example 3: how to delete a cell in jupyter notebook

83

In the new IPython cells could have two states: when it has a green selection rectangle around it you can edit what's inside; when it has a grey rectangle around it you edit the cell itself (copy/paste/delete). Enter/Return makes it go green, Esc makes it go grey. When it is gray, 'dd' will delete it

Example 4: Delete cell in jupiter notebook

Shift-d: delete cell(press twice)

Tags:

Misc Example