Basic operation of Jupyter Lab
- 1. Introduction to Jupyter Lab
- 2. Jupyter Lab basic operation
- Create document
- Multiview
- Create folders, upload files, update folders
- Two operation modes `command mode` and` edit mode`
- cell type `code`` markdown` `rawtext`
- Run py file
- Autocomplete
- Query function function
- 3. Advanced operation of Jupyter Lab-clever use of plug-ins
Basic usage please click
1. Introduction to Jupyter Lab
- JupyterLab contains all the functions of Jupyter Notebook.
- JupyterLab as a web-based integrated development environment, you can use it to write notebooks, operating terminals, edit markdown text, open interactive mode, view csv files and pictures and other functions
2. Jupyter Lab basic operation
Create document
Multiview
Create folders, upload files, update folders
Two modes of operation command mode
andedit mode
- command mode
- edit mode editing mode
in acell
press theenter
entered edit mode, pressing theEsc
enter command mode
cell type code
markdown
rawtext
- code: code environment
- markdown: Enhanced markdown with latex formula input
- raw: plain text
Cell type conversion method
- hot key
In command mode:
- m:markdown
- r:raw text
- y:code
Run cell
- shift + enter: run and jump to the next cell
- control + enter: run and stay in the current cell
Add / remove cell
- hot key:
- Add cell: A command mode
- Delete cell: Double-click in D command mode
Let the cell display the line number
- Shortcut key: shift + L command mode
Run py file
% run path/filename
%run /Users/edz/Desktop/demo.py
Autocomplete
JuypterLab supports automatic completion. Pressing the Tab button when entering a function can automatically complete the function
Query function function
Automatic completion If you forget the usage of a function, press shift + tab to display the usage of the current function, similar to pycharm
3. Advanced operation of Jupyter Lab-clever use of plug-ins
15 Jupyter Lab plugins that are easy to use and explode https://zhuanlan.zhihu.com/p/101070029/
Jupyter Lab install plug-in error solution
Error installing Jupyter Lab plugin_ValueError: Please install nodejs 5+ and npm before continuing installation.
Solution:
Because Anaconda is installed on my computer, I open the Anacoda
Jupyter Lab shortcut key operation https://blog.csdn.net/KaelCui/article/details/105265189