[Solved] How to solve “IOPub data rate exceeded.” in Jupyter Notebook

I tried to find subsets of 2,3,4 from a unique value set of 58 unique entries in the Jupyter notebook. Below is the function which I used.

import itertools 
def findsubsets(s, n): 
    return [set(i) for i in itertools.combinations(s, n)] 

It worked fine for subsets of 2 and 3. But when it is executed for the subsets of 4, it gave the following message.

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

Current values:
NotebookApp.iopub_data_rate_limit=1000000.0 (bytes/sec)
NotebookApp.rate_limit_window=3.0 (secs)

How can I solve this?

Solution #1:

Open the Jupyter Notebook using the following command.

jupyter notebook --NotebookApp.iopub_data_rate_limit=1.0e10

Then try to run your query.

Respondent: PrasadM96
The answers/resolutions are collected from stackoverflow, are licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0 .

Leave a Reply

Your email address will not be published.