title: Reset ipython kernel
body: <p>I was wondering if there is a way to restart the ipython kernel without closing it, like the kernel restart function that exists in the notebook. I tried <code>%reset</code> but that doesn't seem to clear the imports.</p>