Jupyter Notebook quick start
Jupyter Notebook notes
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
- Add ? behind the function to see the documentation
- You can interrupt the running code cell by double pressing
I
key.https://blog.csdn.net/guikunchen/article/details/88652407)