首页 > 解决方案 > 每次运行jupyter笔记本时都必须重新启动内核吗?

问题描述

我是数据科学和 jupyter notebook 世界的新手。有没有办法从我离开的地方开始而不重新启动整个笔记本?

即我对一个数据集做了一些操作并得到一个final_data。每当我想在关闭和打开后使用该 final_data 时,我都会得到 NameError: name 'final_data' is not defined。如何解决这个问题?

标签: pythonjupyter-notebookdata-science

解决方案


I think that's how the Jupyter Notebook works. You have to run all the notebook again. I go to Cell>Run All after opening my notebook.


推荐阅读