Numpy load in Jupyter notebook "IOPub data rate exceeded."

Viewed 5445

I have stored a big dictionary file in numpy pickle format. I can open it in older jupyter notebook app. But, in newer version when I run this line, I see IOPub error.

big_dict = np.load('a_large_dictionary.npy').all()

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

It seems something is going on in the background that I don't have control on. It is strange because I am not trying to load/view the content of this file in NotebookApp!

Any idea? How can one load a big file without editing the Notebookapp config? (again, I don't want to show the content I just read from file into the variable.)

2 Answers
Related