How to set Jupyter Notebook iopub_data_rate_limit from Notebook?

亡梦爱人 提交于 2019-12-24 11:18:14

问题


I use several different machines regularly, so I typically have some notebook setting that I include with my import statements to avoid having to change configuration files all the time:

from IPython.core.display import display, HTML
display(HTML("<style>.container { width:100% !important; }</style>"))  
pd.set_option('display.max_colwidth', -1)
pd.set_option('display.max_rows', 500)
pd.set_option('display.max_columns', 500)
pd.options.mode.chained_assignment = None

Now, I have encountered the "IOPub data rate exceeded", so I would typically change c.NotebookApp.iopub_data_rate_limit in the config file.

My question is if there is simple way to do this from within a notebook instead?

来源:https://stackoverflow.com/questions/51752279/how-to-set-jupyter-notebook-iopub-data-rate-limit-from-notebook

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!