In order to restart the exercise more fluidly, I attach a sentence to add to a Jupyter cell. Running this cell will restart the Kernel.
from IPython.core.display import HTML HTML("<script>Jupyter.notebook.kernel.restart()</script>")
You can add it before imports to run all sequentially.
In the coming days we will include more functionality so that in addition to restart the notebook also restarts the world. To find out if this cell is useful for everyone, tell us its usefulness, problems, etc…
Thank you all.