Jupyter笔记本电脑突然变得非常慢

Jupyter笔记本电脑突然变得非常慢

问题描述:

我曾经在anaconda环境中很好地运行jupyter.在显示警告后

I used to run jupyter in an anaconda environment very well. After showing a warning on

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`.

一旦我通过以下命令对其进行了更改:

once I changed it by this command:

$jupyter notebook --NotebookApp.iopub_data_rate_limit=2147483647

它突然变得非常缓慢,即使它没有打开笔记本的内容.在Google chrome浏览器的左下方显示:

it has suddenly become very slow, even it is not opening the content of the notebook. In the left bottom of Google chrome browser shows :

花很长时间打开笔记本,并且 Home 中打开的笔记本的颜色不是绿色.我不知道为什么?是什么原因,如何重新启动Jupyter Notebook配置?

And take long time to open the notebook, and the color of the opened notebook in Home is not green. I do not know why? What is the reason and how can I restart Jupyter Notebook configuration?

您能帮我吗?

我在jupyter笔记本电脑上遇到了同样的问题.我意识到,当我将限制设置得太高时,jupyter会变得太慢.

I was having the same problem with jupyter notebook. I realized that jupyter gets too slows when I set the limits too high.

例如

pd.set_option('display.max_columns',50000)引起了严重的时间问题.

pd.set_option('display.max_columns', 50000) was causing serious time issues.

我将其更改为

pd.set_option('display.max_columns',50)并解决了问题.

根据您的情况

使用

$ jupyter笔记本--NotebookApp.iopub_data_rate_limit = 1000000

我认为这可以解决您的问题

I think this will solve your problem

谢谢