Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

running multiple cells in jupyter notebook simultaneously

My question is similar to the one asked here. I have a cell in a jupyter notebook that runs for a long time. I want to run the next cell (variables not dependent on the previous cell) along with the previous one. I am not asking for multiprocessing or sharing jobs across CPUs. I want to run the contents of multiple cells run simultaneously. By default, they run sequentially.

It is like running two different notebooks but for the sake of continuity and shared objects, variables I want to run in multiple cells in the same notebook.

like image 781
Rohin Kumar Avatar asked Aug 01 '17 15:08

Rohin Kumar


Video Answer


1 Answers

The question has been answered in another post. ipyparallel (formerly IPython parallel) can be used to spawn multiple IPython kernel. Documentation

Is there a way to run multiple cells simultaneously in IPython notebook?

like image 141
Akshat Rastogi Avatar answered Oct 08 '22 14:10

Akshat Rastogi