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

前端 未结 9 1094
孤街浪徒
孤街浪徒 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:38

    Cell > All Output > Clear Clear all In []: numbers but do not reset them back to 1 for the next cell you run.

    Kernel > Restart & Clear Output Restart the kernel, clear output, clear In []: numbers and reset them to 1, and clear output.

提交回复
热议问题