Home > Backend Development > Python Tutorial > Wall crack recommended! Several Jupyter Notebook super practical plug-ins (2)

Wall crack recommended! Several Jupyter Notebook super practical plug-ins (2)

Release: 2023-08-10 15:12:16
forward
1034 people have browsed it

This issue is the second issue of the Jupyter Notebook practical plug-in series. I will introduce to you another 5 very practical extension plug-ins. I hope it will be helpful to you.
##Tool installation

Direct pip Installation:
pip install jupyter_contrib_nbextensions && jupyter contrib nbextension install
Copy after login
Execute the above statement, restart jupyter notebook, if the following options appear, the installation is successful.
Wall crack recommended! Several Jupyter Notebook super practical plug-ins (2)
Open the Nbextensions tab to view jupyter notebook Currently supported plug-ins:
Wall crack recommended! Several Jupyter Notebook super practical plug-ins (2)

##1 . Toggle all line numbers

##Display all line numbers

Add toolbar button and hotkey to toggle row numbers for all cells:

Wall crack recommended! Several Jupyter Notebook super practical plug-ins (2)

## Tips: can also be passed L Shortcut keys directly operate .


##2. Collapsible headings

Title folding

This plugin allows us to

By titleCollapse the relevant content:

Wall crack recommended! Several Jupyter Notebook super practical plug-ins (2)

##3. Hide input

# Hide code
Hide the input of the selected code cell:

Wall crack recommended! Several Jupyter Notebook super practical plug-ins (2)


4. 输出多个变量

加载下面两行代码即可(非插件):
from IPython.core.interactiveshell import InteractiveShell
InteractiveShell.ast_node_interactivity = "all"
Copy after login
效果
Wall crack recommended! Several Jupyter Notebook super practical plug-ins (2)

5. Variable Inspector

变量检查器
变量检查器扩展收集所有已定义的变量,并在浮动窗口中显示它们。扩展可以拖动,可以调整大小,也可以折叠:

Wall crack recommended! Several Jupyter Notebook super practical plug-ins (2)

未完待续..

The above is the detailed content of Wall crack recommended! Several Jupyter Notebook super practical plug-ins (2). For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:Python当打之年
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template