jupyter-notebook - DataSpell - 像 RStudio 中那样保存状态?

标签 jupyter-notebook dataspell

是否可以在 DataSpell 中保存 Jupyter 变量,类似于在 RStudio 中的工作方式?

目前,在我关闭 DS 后,我需要重新计算所有内容。当然,我可以自己将主要变量写入磁盘,但我不想一直对所有变量都这样做。

最佳答案

我认为与 RStudio 中保存/加载工作区行为最接近的是 %store 魔法。 IPython 提供了 %store 魔法,但 %store 在 DataSpell 的 Jupyter Notebooks 中可用。

这是 %store 文档:https://ipython.readthedocs.io/en/stable/config/extensions/storemagic.html

关于jupyter-notebook - DataSpell - 像 RStudio 中那样保存状态?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/70876641/

相关文章:

python - PyCharm Jupyter 笔记本 : Add Jupyter to the interpreter of the current project

python - 如何在 Python 中读取 SPSS aka (.sav)

github - 无法在 DataSpell 中附加项目

python - 如何让DataSpell显示单元格的运行时间?

Matplotlib 图未显示在 Jupyter 笔记本第一个单元格的输出小部件中

python - 如何在 IPython Notebook 中显示扩展模块的日志语句

linux - Jupyter笔记本通过/etc/rc.local运行时找不到内核