Jupyter Notebook quick start

Jupyter Notebook notes

Jupyter Notebook quick start
Photo by Samsung Memory / Unsplash

Prevent kernel shutdown

import os
os.environ["KMP_DUPLICATE_LIB_OK"]  =  "TRUE"

Common shortcut keys

  • Shift-Enter : run cell and move to next cell
  • Ctrl-Enter : run cell
  • Alt-Enter : run and add a cell below
  • Ctrl-Alt-Shift-Enter: run all cells
  • Y : code mode
  • M :markdown mode
  • A : insert a cell above
  • B : insert a cell below
  • D,D : delete cell
  • X : cut cell
  • Ctrl Shift -: spilt cell
  • Shift M: merge cell

Some Skills