You are on page 1of 1

> Working with Different Programming Languages > Widgets

Python For Data Science


Kernels provide computation and communication with front-end interfaces like the notebooks.

There are three main kernels:


Notebook widgets provide the ability to visualize and
control changes in your data, often as a control like a
Jupyter Cheat Sheet slider, textbox, etc.

You can use them to build interactive GUIs for your


Learn Jupyter online at www.DataCamp.com notebooks or to synchronize stateful and stateless
IPython IRkernel IJulia
information between Python and JavaScript.
Installing Jupyter Notebook will automatically install the IPython kernel.
Clear interactive
Save notebook

> Saving/Loading Notebooks Restart kernel Interrupt kernel


widgets from

Notebook
with interactive

widgets

Restart kernel &


Interrupt kernel &

Create new notebook Open an existing


run all cells clear all output
notebook
Restart kernel
Connect back to
Embed current
Download serialized

Make a copy of the


Rename notebook & run all cells a remote notebook widgets
current notebook state of all widget

models in use
Run other

Save current notebook


Revert notebook to
installed kernels
and record checkpoint a previous checkpoint

Preview of the
Download notebook as

printed notebook - IPython notebook

Close notebook & stop


- Python
Command Mode:
running any scripts - HTML

- Markdown
1. Save and checkpoint
9. Interrupt kernel

16
- reST
2. Insert cell below
10. Restart kernel

- LaTeX
3. Cut cell
11. Restart kernel and re-run notebook

- PDF 14 15 4. Copy cell(s)


12.Display characteristics

1 2 3 4 5 6 7 8 9 10 11 12 13 5. Paste cell(s) below


13. Open command palette

6. Move cell up
14. Current kernel

7. Move cell down


15. Kernel status

> Writing Code And Text 8. Run current cell 16. Log out from notebook server

Code and text are encapsulated by 3 basic cell types: markdown cells, code
Edit Mode:
cells, and raw NBConvert cells

Edit Cells

Cut currently selected


Copy cells from clipboard
Executing Cells Asking For Help
cells to clipboard to current cursor position

Paste cells from clipboard


Paste cells from clipboard

above current cell below current cell Run selected cell(s) Run current cells down &
Walk through a UI tour List of built-in

create a new one below keyboard shortcuts


Paste cells from clipboard
Delete current cells
on top of current cell Run current cells down &
Run all cells Edit the built-in
Notebook help topics
create a new one above keyboard shortcuts
Revert “Delete Cells”
Split up a cell from
Run all cells below

invocation current cursor position Description of

Run all cells above


the current cell
markdown available

the current cell in notebook


Merge current cell
Merge current cell
toggle, toggle scrolling

with the one above with the one below and clear current outputs
Change the cell
Python help topics IPython help topics
type of current cell
Move current cell up Move current cell

down NumPy help topics SciPy help topics


toggle, toggle scrolling

and clear all output Matplotlib help topics SymPy help topics
Adjust metadata underlying
Find and replace

the current notebook in selected cells


Pandas help topics About Jupyter Notebook
Remove cell
Copy attachments
View Cells
attachments of current cell

Paste attachments
Insert image in

of current cell selected cells Toggle display of Jupyter


Toggle display of toolbar
logo and filename

Toggle line numbers


Toggle display of cell

Insert Cells in cells action icons:

- None

- Edit metadata

Add new cell above the


Add new cell below the
- Raw cell format

current one current one - Slideshow

- Attachments

- Tags
Learn Data Skills Online at www.DataCamp.com

You might also like