Hacker News project: IOPub data rate exceeded

Screen Link: https://app.dataquest.io/m/356/guided-project%3A-exploring-hacker-news-posts/1/introduction

After trying to open the hacker_news.csv I got this error:

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

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

Not really sure how to fix it. I would like to do the project on my home computer but can’t until this is fixed. Will have to do it in the DataQuest client for now.

Any help?

1 Like

Hi @burnsdillion,

Can you please share your notebook file (.ipynb)? I will try to reproduce it on my end.

Best,
Sahil

I ended up fixing it using this article: https://www.drjamesfroggatt.com/python-and-neural-networks/iopub-data-rate-exceeded-the-notebook-server-will-temporarily-stop-sending-output-to-the-client-in-order-to-avoid-crashing-it/

I had to generate a config file for Jupyter, then add on a zero to the data rate limit within the file.

Thanks!!

2 Likes

I also had this issue but only when I tried to print the whole hacker_news.csv file in the DataQuest client. Limiting the number of rows it printed solved the problem.