I get the same error message in JupyterLab 3.6.3 (on Python 3.10.0
on Windows 10) when I use the help() on Pandas.
Although the help() function does not use print explicitly, the pandas documentation is 100s of pages long, so probably exceeds JupyterLab's or Jupyter Notebook capacity to display it.
The return type of the help() function and it is a NoneType so it likely uses the print() function internally or at least the str() attribute, which is the equivalent result as the print() function.
$ import pandas
$ help(pandas)
IOPub data rate exceeded. The Jupyter server will temporarily stop
sending output to the client in order to avoid crashing it. To change
this limit, set the config variable
--ServerApp.iopub_data_rate_limit
.
I get the same error message from Jupyter Classic NB started from the Help menu of JupyterLab 3.6.3.
IOPub data rate exceeded. The Jupyter server will temporarily stop
sending output to the client in order to avoid crashing it. To change
this limit, set the config variable
--ServerApp.iopub_data_rate_limit
.
Current values: ServerApp.iopub_data_rate_limit=1000000.0 (bytes/sec)
ServerApp.rate_limit_window=3.0 (secs)
Server Information:
You are using Jupyter NbClassic.
Jupyter Server v2.5.0
Jupyter nbclassic v0.5.3 (started using the "Launch Jupyter Classic Notebook dropdown menu within JupyterLab "Help" menu)
The solution above ( jupyter notebook --NotebookApp.iopub_data_rate_limit=1.0e10
) eliminated the help() function output error message. It gives me the full pandas help documentation within the JupyterLab NB output cell.
Thanks for the answers.