when I run the code below in a jupyter notebook I\'m getting a "kernel died will automatically restart message. When I check the output for the jupyter notebook server