Cheatography
https://cheatography.com
Help and Shortcuts for Jupyter Editor
Jupyter: Modes & Cell Types
|
2 Jupyter Modes |
|
Edition Mode |
[Intro] to Edition mode |
|
Command Mode |
[Esc] to Command Mode |
|
3 Cell Types |
|
Markdown texts or formats |
|
Raw text, no format |
|
Program code e.g. Python, grey cell, In[n]
before |
|
Command Mode [ESC] key
↩ |
Go to Edition Mode |
⌃ ↩ [ctrl] ↩ |
Run Cell |
⇧ ↩ |
Run Cell, Select Cell Under |
⌥↩ [alt]↩ |
Run Cell, Insert Cell Below |
m |
Markdown Cell |
y |
Code Cell |
r |
Raw Cell |
1 |
Header 1 |
2 |
Header 2, and so on.. 3,4,5,6 |
↑ / ↓ |
Select before / after cell |
k / m |
Select before / after cell |
a / b |
Insert cell below / under |
x |
Cut Cell |
c |
Copy Cell |
v |
Paste Cell Under |
⇧ v |
Paste Cell Below |
d d |
Erase Cell |
s / ⌘ S |
Save and Checkpoint |
L |
Toggle Cell Numbers |
o |
Toggle Outputs |
h |
Show Help |
␣ / ⇧␣ |
Scroll Screen Down / Up |
Mac / Windows Keyboards Equivalences
Mac |
Windows |
Mac |
Windows |
⌘ |
|
[ctrl] |
Control / ⌃ |
⌥ |
Option / [alt] |
⇧ |
[Shift] |
↩ |
Enter / Return |
↩ |
[Intro] |
⇥ |
Tabulation/ [Tab] |
␣ |
[Space] |
⌘ |
[ctrl] Control ⌃ |
Note: The shortcuts may differ depending on your system configuration.
Command History Shorcuts
[Ctrl] p or |
Access previous command in history |
[Ctrl] n or |
Access next command in history |
[Ctrl] r |
Reverse-search through command history |
Miscellaneous Shortcuts
[Ctrl] L |
Clear terminal screen |
[Ctrl] C |
Interrupt current Python comman |
[Ctrl] D |
Exit IPython session |
|
|
Edition Mode [Enter] / doble click
Mac |
Windows |
Keys, Meaning |
[Esc] |
[Esc] |
Command Mode |
⌘ m |
[ctrl] m |
Command Mode |
Indentation |
⇥ |
[tab] |
Indent , Complete Code |
⇧ ⇥ |
⇧ [tab] |
Outdent |
⌘ ] |
[ctrl] ] |
Indent |
⌘ [ |
[ctrl] [ |
Outdent |
Navigation Shorcuts inside cell |
⌥ ← |
[alt] ← |
1 word to left |
⌥ → |
[alt] → |
1 word to right |
⌥ ⌫ |
[alt] ⌫ |
Erase left word |
⌥ ⌦ |
[alt] ⌦ |
Erase right word |
⌘ a |
[ctrl] a |
begining of line |
⌘ e |
[ctrl] e |
end of line |
Cells |
↑ / ↓ |
↑ / ↓ |
Cell Below / Cell Under |
⌘ ↑ |
[ctrl] ↑ |
To First Cell |
⌘ ↓ |
[ctrl] ↓ |
To Last cell |
⌃⇧ |
[ctrl] ⇧ |
Split Cell |
⌘ a |
[ctrl] a |
Select All |
⌘ z |
[ctrl] z |
Undo |
⌘ y |
[ctrl] y |
Redo, as [ctrl]⇧z |
Text Entry |
⌘ d |
[ctrl] d |
Erase next character |
⌘ k |
[ctrl] k |
Cut text until end of line |
⌘ u |
[ctrl] u |
Cut text until end of line |
⌘ y |
[ctrl] y |
Paste |
⌘ t |
[ctrl] t |
abba Transpose previous two characters |
Markdown
Headings |
Use # followed by a blank space for notebook titles and section headings: |
# title |
title (<h1> tag) |
## major headings |
## major headings (<h2> tag) |
### subheadings |
## subheadings (<h3> tag), and so on |
Font Formats |
Text between symbol |
** |
Bold |
* |
Italic |
Mathematical Symbols |
$x=y$ |
x=y |
Line Break |
<br> |
Colors |
<font color=blue|red|green|pink|yellow>text</font> |
Indenting |
> text (remember the space) |
Bullets |
- |
Numbered lists |
1. (start) |
Colored note boxes |
end with </div> |
<div class="alert alert-block alert-info"> |
<div class="alert alert-block alert-warning"> |
<div class="alert alert-block alert-success"> |
Graphics |
<img src="url.gif" alt="Text that describes the graphic" title="Title text" /> |
Geometric shapes |
Use this code with a decimal or hex reference number from: UTF-8 Geometric shapes &#reference_number |
<p>I will display ►</p> |
Horizontal lines: Use 3 asterisks |
Internal links |
<a id="section_ID"></a> |
Use this code for the link and make sure to test all the links! section title |
External links |
|
See: IBM Data Science Experience
|
Created By
Metadata
Favourited By
Comments
arijitde, 09:17 7 Feb 20
Great
jmblc, 13:53 27 Sep 20
Great
Add a Comment
Related Cheat Sheets
More Cheat Sheets by jorgejuan007