Clear Cell Output In Jupyter Notebook During Run-time
While using Jupyter, we often print many details to track the code's progress.
However, it gets frustrating when the output panel has accumulated a bunch of details, but we are only interested in the most recent output. Moreover, scrolling to the bottom of the output each time can be annoying too.
To clear the output of the cell, you can use the ๐ฐ๐น๐ฒ๐ฎ๐ฟ_๐ผ๐๐๐ฝ๐๐ method from the ๐๐ฃ๐๐๐ต๐ผ๐ป package. When invoked, it will remove the current output of the cell, after which you can print the latest details.
Watch a video version of this post on LinkedIn: Post Link.
I like to explore, experiment and write about data science concepts and tools. You can read my articles on Medium. Also, you can connect with me on LinkedIn.