manage kernels jupyter code example Example: change kernel from a jupyter cell %%javascript Jupyter.notebook.session.restart({kernel_name: 'python3'})