Issue
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.
Solution
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?
Answered By - Akshat Rastogi
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.