Search code examples
pycharmjupyter-notebook

In PyCharm how do I remove the outputs of my Jupyter Notebook when running from the IDE?


If I run a piece of python code in from a cell in my IPython NoteBook, the output is displayed in my IDE below the selected cell. I want to remove this output (and/or any output from other cells) from the view. When I access the notebook through the Jupyter URL, I can reset the kernel and clear all results.

How can I reset/clear the output in my IDE?


Solution

  • I believe this feature is still missing in PyCharm, as confirmed by one of the JetBrains employees here.

    So I guess you have to do it directly by accessing the Jupyter URL (e.g., in the browser) or open the file as JSON and manually delete the output.