Restart the Kernel Without Losing Variables
While working in a Jupyter Notebook, you may want to restart the kernel due to several reasons. But before restarting, one often tends to dump data objects to disk to avoid recomputing them in the subsequent run.
The "store" magic command serves as an ideal solution to this. Here, you can obtain a previously computed value even after restarting your kernel. What's more, you never need to go through the hassle of dumping the object to disk.
Read this post on LinkedIn: Post Link.
I like to explore, experiment and write about data science concepts and tools. You could connect with me on LinkedIn.