Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1.21 KB

JNB.md

File metadata and controls

32 lines (22 loc) · 1.21 KB

Jupyter notebook

Documentation

  1. Launch from command line:

    $ jupyter notebook
    

    alt text

  2. Click on existing notebook, or make new one:

    alt text

  3. Enter code in cells and the hit shift + enter to run code:

    In [1]: a, b = 1, 2
    In [2]: print(a+b)
    3
    1. alt/option + enter runs code and inserts new cell below.
  4. Many more options from menu bar: alt text

    1. Insert allows you to insert cells
    2. Cell allows specific control on how to run cells
    3. Kernel controls the Python kernel used to run calculations. Restart kernel from here if things get stuck!
  5. Cells can be markdown or code - controlled from dropdown menu or from cell menu.