Gray Wolf Corporation

Multiple outputs from jupyter notebook

Jupyter Notebooks are great for working with python, but, by default, the cells will only output the last expression.

notebook1

You can use print to get around this or add the following to the top of your notebook:

from IPython.core.interactiveshell import InteractiveShell
InteractiveShell.ast_node_interactivity = "all"

That will allow multiple output from all cells:

notebook2

An unhandled error has occurred. Reload 🗙