How To: Resolve "IOPub message rate exceeded" error
Overview
If you are executing a notebook cell that it is performing a high rate of print
statements, you may encounter the error message:
IOPub message 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_msg_rate_limit`.
Current values:
ServerApp.iopub_msg_rate_limit=1000.0 (msgs/sec)
ServerApp.rate_limit_window=3.0(secs)
Solution
If the error is caused by executing a SPy command, set the quiet
parameter to True. All SPy methods accept the quiet
parameter.
spy.pull(items, start='2019-01-01', end='2019-01-07', quiet=True)
If the error is not caused from SPy, eliminate print statements in notebook cell code and investigate third-party modules or packages to see if output suppression is possible.