首页 > 代码库 > Jupyter Notebook 27绝技——27 Jupyter Notebook tips, tricks and shortcuts
Jupyter Notebook 27绝技——27 Jupyter Notebook tips, tricks and shortcuts
转载自:https://www.dataquest.io/blog/jupyter-notebook-tips-tricks-shortcuts/
Jupyter notebook, formerly known as the IPython notebook, is a flexible tool that helps you create readable analyses, as you can keep code, images, comments, formulae and plots together.
Jupyter Notebook, 集代码、图像、注释、公式、图表为一体的神器。
Jupyter名字的起源 :the name Jupyter is an indirect acronyum of the three core languages it was designed for: JUlia, PYThon, and R and is inspired by the planet Jupiter.
1. Keyboard Shortcuts 快捷键
怎么查看说明,打开一个notebook,Help > Keyboard Shortcuts
有命令模式的快捷键:
也有编辑模式的快捷键:
几个常用的:
1. Esc + F
:Find and replace on your code but not the outputs.
查找并替换代码(而不是输出)
2. 对于cell的一些操作
Esc + O
折叠cell输出;
Shift + J
or Shift + Down
:向下选中多个cell,反之亦然
选中多个cell有什么用呢?删除修改复制等不用说,可以合并呀,哈哈
Shift + M
: 合并多个cell
Jupyter Notebook 27绝技——27 Jupyter Notebook tips, tricks and shortcuts