Last Updated: November 21, 2025
Shortcuts (Command Mode)
| Key | Action |
|---|---|
A
|
Insert cell above |
B
|
Insert cell below |
D D
|
Delete cell |
M
|
Convert to Markdown |
Y
|
Convert to code |
Enter
|
Edit mode |
Shortcuts (Edit Mode)
| Item | Description |
|---|---|
Esc
|
Command mode |
Shift+Enter
|
Run cell |
Ctrl+Enter
|
Run cell, stay |
Alt+Enter
|
Run and insert below |
Tab
|
Code completion |
Magic Commands
%timeit
Time execution
%matplotlib inline
Show plots inline
%%writefile
Write cell to file
%load
Load code from file
%run
Run Python file
💡 Pro Tip:
Use Shift+Tab for quick documentation!