How to recover deleted Jupyter notebook cell?

前端 未结 6 953
温柔的废话
温柔的废话 2021-01-30 01:05

I use Jupyter notebook. I accidentally deleted a cell, and I can\'t go step back.

How can I recover the notebook cell?

6条回答
  •  [愿得一人]
    2021-01-30 01:50

    First, switch to command mode by pressing ESC, then you can press Z to recover the deleted cells. It works even in Jupyter Lab which doesn't have "Undo Delete Cells" option under "Edit" tab.

提交回复
热议问题