DataCamp
Learn Python for Data Science Interactively
Saving/Loading Notebooks
Working with Dierent Programming Languages
Asking For Help
Widgets
Python For Data Science Cheat Sheet
Jupyter Notebook
Learn More Python for Data Science Interacvely at www.DataCamp.com
Kernels provide computaon and communicaon with front-end interfaces
like the notebooks. There are three main kernels:
Installing Jupyter Notebook will automacally install the IPython kernel.
Create new notebook
Open an exisng
notebook
Make a copy of the
current notebook
Rename notebook
Wring Code And Text
Save current notebook
and record checkpoint
Revert notebook to a
previous checkpoint
Preview of the printed
notebook
Download notebook as
- IPython notebook
- Python
- HTML
- Markdown
- reST
- LaTeX
- PDF
Close notebook & stop
running any scripts
IRkernel IJulia
Cut currently selected cells
to clipboard
Copy cells from
clipboard to current
cursor posion
Paste cells from
clipboard above
current cell
Paste cells from
clipboard below
current cell
Paste cells from
clipboard on top
of current cel
Delete current cells
Revert “Delete Cells”
invocaon
Split up a cell from
current cursor
posion
Merge current cell
with the one above
Merge current cell
with the one below
Move current cell up
Move current cell
down
Adjust metadata
underlying the
current notebook
Find and replace
in selected cells
Insert image in
selected cells
Restart kernel
Restart kernel & run
all cells
Restart kernel & run
all cells
Interrupt kernel
Interrupt kernel &
clear all output
Connect back to a
remote notebook
Run other installed
kernels
Code and text are encapsulated by 3 basic cell types: markdown cells, code
cells, and raw NBConvert cells.
Edit Cells
Insert Cells
View Cells
Notebook widgets provide the ability to visualize and control changes
in your data, oen as a control like a slider, textbox, etc.
You can use them to build interacve GUIs for your notebooks or to
synchronize stateful and stateless informaon between Python and
JavaScript.
Toggle display of Jupyter
logo and lename
Toggle display of toolbar
Toggle line numbers
in cells
Toggle display of cell
acon icons:
- None
- Edit metadata
- Raw cell format
- Slideshow
- Aachments
- Tags
Add new cell above the
current one
Add new cell below the
current one
Execung Cells
Run selected cell(s)
Run current cells down
and create a new one
below
Run current cells down
and create a new one
above
Run all cells
Save notebook
with interacve
widgets
Download serialized
state of all widget
models in use
Embed current
widgets
Walk through a UI tour
List of built-in keyboard
shortcuts
Edit the built-in
keyboard shortcuts
Notebook help topics
Descripon of
markdown available
in notebook
About Jupyter Notebook
Informaon on
unocial Jupyter
Notebook extensions
Python help topics
IPython help topics
NumPy help topics
SciPy help topics
Pandas help topics
SymPy help topics
Matplotlib help topics
Run all cells above the
current cell
Run all cells below
the current cell
Change the cell type of
current cell
toggle, toggle
scrolling and clear
current outputs
toggle, toggle
scrolling and clear
all output
1. Save and checkpoint
2. Insert cell below
3. Cut cell
4. Copy cell(s)
5. Paste cell(s) below
6. Move cell up
7. Move cell down
8. Run current cell
9. Interrupt kernel
10. Restart kernel
11. Display characteriscs
12. Open command palee
13. Current kernel
14. Kernel status
15. Log out from notebook server
Command Mode:
Edit Mode:
1 2 3 4 5 6 7 8 9 10 11 12
13 14
15
Copy aachments of
current cell
Remove cell
aachments
Paste aachments of
current cell