Where did my outputs go?

The asterisks between the brackets mean your code is awaiting to be run and so there is no output.
However, most of what you are showing showing should be easy to run. So unless you have some demanding code down below that you ran first and then started running the cells you show, you need the kernel or connection to be refreshed.

First under the ‘Kernel’ option on the menu, try ‘Interrupt Kernel’. That may eliminate the asterisks so you can run the cells again. Either way, you may want to also try ‘Restart Kernel and Run All Cells’. (It is actually good habit to get in to run ‘Restart Kernel and Run All Cells’ regularly as you work so you are more likely to encounter a ‘hidden state’ issue while you still recall what you had run and/or maybe inadvertantly altered or deleted.)

If that doesn’t help, try closing your connection and reopening. I’m guessing from the look, this is on Anaconda Cloud? You may get away with just doing a hard browser refresh on the page.
However, more likely is that you need to close the page and restart the way you normally do. Occasionally, the kernel just gets stuck or connection times out. That mat be the case here and so trying to run your top cells fails. Restarting things may restore things to where you can run things again.

Once the asterisks all clear and you get the status indicator in the upper right following ‘Python [conda env:base]’ to be clear and ready, then you should be able to run all the cells again from top to bottom. ‘Restart Kernel and Run All Cells’ under ‘Kernel’ menu can be useful for situations like this.

Alternatively, if all you are after is seeing the output that was previously there, there may be timestamped, previous versions of notebook that you can access.Look around under ‘File’ for ‘Revert Notebook to Checkpoint...’.

1 Like