[英]How to interupt a Jupyter notebook from the command line
I accidentally told my Jupyter notebook to display 7000 rows of pandas DataFrame all at once (with the max rows variable set to None).我不小心告诉我的 Jupyter 笔记本一次显示 7000 行 pandas DataFrame (最大行变量设置为无)。 As such the web interface is completely unresponsive so I can't interrupt it normally.因此,web 接口完全没有响应,所以我无法正常中断它。 I don't want to have to rerun all of the previous cells in the notebook to get back to my previous position.我不想重新运行笔记本中所有以前的单元格以返回到我以前的 position。
Is there a way to interrupt the kernel from the command line without losing the existing state?有没有办法从命令行中断 kernel 而不会丢失现有的 state?
this can be executed in the command line of the jupyter notebook this may help your question这可以在 jupyter notebook 的命令行中执行,这可能对您的问题有所帮助
jupyter notebook --help
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.