Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/290.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/email/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python Jupyter笔记本突然变得非常慢_Python_Jupyter Notebook_Jupyter - Fatal编程技术网

Python Jupyter笔记本突然变得非常慢

Python Jupyter笔记本突然变得非常慢,python,jupyter-notebook,jupyter,Python,Jupyter Notebook,Jupyter,我曾经在巨蟒环境中很好地运行jupyter。 在屏幕上显示警告后 IOPub data rate exceeded. The notebook server will temporarily stop sending output to the client in order to avoid crashing it. To change this limit, set the config variable `--NotebookApp.iopub_data_rate_limit`. 一旦我

我曾经在巨蟒环境中很好地运行jupyter。 在屏幕上显示警告后

IOPub data rate exceeded.
The notebook server will temporarily stop sending output
to the client in order to avoid crashing it.
To change this limit, set the config variable
`--NotebookApp.iopub_data_rate_limit`.
一旦我用这个命令更改了它:

$jupyter notebook --NotebookApp.iopub_data_rate_limit=2147483647
它突然变得非常慢,甚至没有打开笔记本的内容。在Google chrome浏览器的左下角显示:

打开笔记本需要很长时间,并且
主页
中打开的笔记本颜色不是绿色。我不知道为什么? 原因是什么?如何重新启动Jupyter笔记本电脑配置


你能帮我做这个吗

我的Jupiter笔记本也有同样的问题。我意识到,当我把极限设定得太高时,木星会变得太慢

比如说,

将熊猫作为pd导入

pd.set\u选项('display.max\u columns',50000)
导致严重的时间问题

我把它改成了

pd.set\u选项('display.max\u columns',50)
并解决了问题

为了你的案子

使用

$jupyter笔记本电脑--NotebookApp.iopub\u data\u rate\u limit=1000000

我想这会解决你的问题


谢谢

解决了我的问题,有了
pd.set\u选项('display.max\u columns',无)
这真的让笔记本速度变慢了。谢谢分享!什么是
pd
?它似乎也没有在原始问题中定义…@EricOLebigot它可能指的是
pandas
包,在处理数据时经常使用。啊,当然,谢谢,你是对的:。我对答案进行了编辑,以明确这一点。