3 ms·
It looks like there’s a %store command in Jupyter. I haven’t tried it out, but is this what you are looking for? https://stackoverflow.com/questions/34342155/h
by bee_rider 3y ago
It looks like there’s a %store command in Jupyter. I haven’t tried it out, but is this what you are looking for?
https://stackoverflow.com/questions/34342155/how-to-pickle-or-store-jupyter-ipython-notebook-session-for-later https://stackoverflow.com/questions/34342155/how-to-pickle-o...
(I just got it by googling “pickle an object in jupyter,” so sorry if this is something obvious that you’ve already seen and doesn’t quite solve your problem).
- fluidcruft 3y agoYeah it got my hopes up when I found it. But when I was testing it, I didn't find the data actually made it into the .ipynb. It turns out that's actually a global storage in your home directory and doesn't go into the notebook at all. So different notebooks each overwrite the value if they use the same variable name.
- bee_rider 3y agoOh wow, that’s a really awful design. Sorry.