python - 每次运行jupyter笔记本时都必须重新启动内核吗?
问题描述
我是数据科学和 jupyter notebook 世界的新手。有没有办法从我离开的地方开始而不重新启动整个笔记本?
即我对一个数据集做了一些操作并得到一个final_data。每当我想在关闭和打开后使用该 final_data 时,我都会得到 NameError: name 'final_data' is not defined。如何解决这个问题?
解决方案
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.
推荐阅读
- c# - WPF ListViewTemplate InvalidCastException:“无法将“System.Windows.Controls.ListView”类型的对象转换为“System.Windows.DataTemplate”类型。
- python - py3270 - 错误:目标主体名称不正确
- streaming - 是否有免费/便宜的流媒体平台可让您选择要在其上显示流的 URL?
- flask - 如何访问谷歌云虚拟机的本地主机进行烧瓶开发。?
- docker - Nextjs:直接从浏览器输入URL时页面不渲染,404错误
- php - php-fpm 进程在 CurlMultiHandler 中获取 S3 对象时卡住了
- python - Matplotlib:有没有办法从父轴获取颜色条轴?
- sql - xmlSample - 文件不是有效的 xml:文档中根元素之前的标记必须格式正确。SQL XML
- python - 如何让类似节奏的机器人在加入语音频道时播放音乐?
- javascript - 如何在单击时停止 iOS 滚动动画