有没有一种方法可以在jupyter中一次删除所有单元格? [英] Is there a way to delete all cells at once in jupyter?

查看:484
本文介绍了有没有一种方法可以在jupyter中一次删除所有单元格?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我每天都会尝试解决方案,然后再回答栈溢出中的熊猫问题.通常在两到三天后,我使用的jupyter笔记本将带有n个单元格.除了通过删除当前笔记本创建新笔记本之外,是否可以立即删除所有单元?

I everyday try out my solutions before answering a pandas question in stack overflow . Usually after two to three days the jupyter notebook I use will be with n number of cells. Is there a way to delete all cells at once other than creating new notebook by deleting current one?

D D一次删除一个单元格.

D D deletes one cell at a time.

推荐答案

您可以执行以下操作:

  1. 选择所有单元格:ESC + SHIFT + DOWN(从顶部开始)
  2. 然后单击ESC + D D(两次D)
  1. Select all cells : ESC + SHIFT + DOWN (starting from the top)
  2. Then click ESC + D D (D twice)

这篇关于有没有一种方法可以在jupyter中一次删除所有单元格?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆