I am a newbie to Jupyter and trying to learn it. I ran a cell four times and now there's In[4] and Out[4] and if I execute again, it increases. Now how can I reset the values?
Also why are these values stored? Any help is appreciated.
Another valid option that clears all those numbers at the left side is on the top bar: >"Kernel" >"Restart and Clear Output".
Press 'control-shift-p', that opens the command palette. Then type 'clear cell output'. That will let you select the command to clear the output.
It's so that if you have a lot of cells you can have a record of what order you ran them in. To reset the counter, you reset the kernel, either via the Kernel menu or by pressing "0" twice.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With