Restart the kernel before each section. That will clear all state in memory, and reset the execution count
--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/9bfd0c07-0fc6-4dc2-8574-426c8f76c040%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
But once I ship out the notebook to others, they'd need to do the same as they execute cells, correct?
You might consider putting each section in a separate notebook. Then it very naturally starts with a fresh kernel, is self-contained, etc.
Jason
--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/017782d9-8d3d-4b8b-9ce2-3fa1c423954d%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/8892a4d3-8ef8-4e33-9007-ac3872323403%40googlegroups.com.