7 python jupyter jupyter-notebook
如何在 jupyter 笔记本中向下或向上移动一行(或一组选定的行)。有什么捷径吗?

将第 3 行移至一列后:

例如ALT+UP或ALT+DOWN是Eclipse IDE 中使用的上/下位移。
这个问题讨论细胞位移。
由于 jupyter 使用代码块,您可以在代码块之间使用该快捷方式
Ctrl + Shift + -
Run Code Online (Sandbox Code Playgroud)
但这仅适用于不在同一代码块中的代码单元之间。我认为没有内置的捷径。有关更多快捷方式,您可以查看此处: https: //www.dataquest.io/blog/jupyter-notebook-tips-tricks-shortcuts/
| 归档时间: |
|
| 查看次数: |
8162 次 |
| 最近记录: |