Deleting blank lines from Jupyter notebook
问题 Is there an easy way of removing blank lines from IPython notebook? I have picked up a habit of blank lines from web development and my fingers tend to hit enter automatically. This makes IPython notebooks less(by taking too much of my 14" screen), not more readable in most cases. I was wondering if there is a way of automatically remove blank lines from the notebooks. In notebooks, I think preferred way of splitting the code is by placing each separate method to a different cell. Is commonly