Table of contents
Jupyter Notebook is a web-based application for interactive computing. It can be applied to the whole process of computing: development, documentation, running code and displaying results.
In short, Jupyter Notebook is opened as a web page , you canin the web page Directly write code and run the code , the running result of the code will alsoDisplayed directly under the code blockprogram of. If you need to write an instruction document during the programming process, you can write it directly on the same page , which is convenient for timely explanation and explanation.
1. Save/load
Because the visual interface is well done, there is no need to explain it. Key options include New , Open , Make a Copy , Rename , Save and Create Checkpoint , Revert to Selected Checkpoint , Print Preview , Save As , and Close and Stop All Scripts .
Let’s go directly to the picture here:
2. Applicable to multiple programming languages
Jupyter provides a kernel for computing and communicating with three programming languages :
when installing Jupyter, the IPython kernel will be installed automatically. The specific operations are to interrupt the kernel, restart the kernel, clear all running results after restarting the kernel, run all cells after restarting the kernel, restart Connect, close kernels, run other language kernels.
3. Write code and text
Jupyter encapsulates code and text into three types of cells: Markdown, code and NBConvert .
3.1 Edit cell
Edit cell operationMainly include: cut selected cell , paste above selected cell , copy cell , paste above selected cell , paste and replace selected cell , delete selected cell , restore delete cell operation , Split cell at cursor , merge with cell above , merge with cell below , edit notebook metadata , move cell down , remove attachment from cell , find and replace , copy attachment from selected cell , paste attachment To Selected Cells , Paste Attachments to Selected Cells .
The specific content is shown in the figure below:
3.2 Insert cells
can chooseInsert a cell above the selected cellandInsert a cell below the selected cell。
3.3 Running cells
can chooseRun selected cells、Run the selected cell and select the cell below、Run selected cells and add new cells below、run all cells、Run all cells above、Run all cells below、Change selected cell type、Show, hide, or clear output from selected cells、Show, hide, or clear output from all cells。
3.4 View cells
Here, we can show or hide the Jupyter logo and file name , show or hide toolbars , show or hide cell row numbers , and show or hide cell operation buttons .
4. Widgets
Controls are used to control data or realize data visualization, such as scroll bars, text boxes and other controls .
Controls can be used to create interactive GUIs, or to synchronize state information between Python and JavaScript .
we canOption to download all active control states、Save Notebook files with interactive controlsandEmbed the current control。
5. Help
existhelpinterface, we can view UI navigation , built-in shortcuts , edit built-in shortcuts , Notebook help , Markdown help , Jupyter Notebook unofficial extension , Python help , IPython help , Numpy help , SciPy help , Matplotlib help , SymPy help , Pandas Help and About Jupyter Notebook .