Dead Kernal and restart

See the second paragraph of my reply here because it sounds like a memory problem and you’ll learn more / have less overhead by running it directly in Python as a script.