How do I reset the Jupyter/IPython input prompt numbering?

前端 未结 9 1090
孤街浪徒
孤街浪徒 2021-02-02 05:08

I just wrote my first extensive Python tutorial using IPython notebooks. All went well, except I did a lot of testing and moving blocks around. How do I reset the In [

9条回答
  •  梦谈多话
    2021-02-02 05:30

    You can reset the kernel (shortcut: C-m .) and re-run the whole notebook.

    Quitting and reloading doesn't work because the code is not re-evaluated.

提交回复
热议问题