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

user2651084 picture user2651084 · Sep 15, 2013 · Viewed 42.8k times · Source

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 [ ]: numbering? I have tried quitting and reloading, but that doesn't seem to work.

Answer

orhanodabasi picture orhanodabasi · Oct 20, 2014

I think, the only way to to what you want is: - 'Kernel > Restart' (restart the kernel) and then 'Cell > Run All' (run the script).