How Can We Help?
< All Topics
Print

Working with Kernels in a Jupyter Notebook

What is a Kernel?

In a Jupyter Notebook, the kernel is the engine that enables you to execute code. With kernels, you can extend Jupyter Notebook functionality to include languages beyond Python. You can check out the Jupyter documentation about kernels here.

Killing a Process in a Notebook

If something in your code is causing the development to glitch or stall, it is best to kill the process and stop any currently running code. Within the notebook editor menu, select “Kernel” then “Restart” or “Restart & Clear All”. This will forcefully stop any running code. If you have made changes in an external file that do not appear in the notebook, you may need to restart the kernel to see the updated code.

 

Table of Contents