Delete cell in Jupyter Notebook
Answered
Hello,
Is there a way to delete a cell in a Jupyter Notebook within Pycharm?
Please sign in to leave a comment.
You could press `Esc` and then use `Edit| Cut` or the corresponding shortcut for this action.
Please also check https://youtrack.jetbrains.com/issue/PY-25430 about adding the corresponding button to the Jupyter Notebook toolbar.
@Anna Morozova Please add such info to https://www.jetbrains.com/help/pycharm/ipython-notebook-support.html
I'm trying to use PyCharm instead of Jupyter Lab, but there is no way to delete a cell, and when i add a markdown cell - its added to the end of the notebook, which is obviously not what is intended. Are those bugs or am i just doing something wrong?
Hello,
This should be available in the next release (2020.2), please see the ticket https://youtrack.jetbrains.com/issue/PY-34820
Ok. I'm just curious -
Is the current version is beta? Because if it is - it's self-explanatory.
Thanks.
Any Update here on when the fix will be released?
Hello, no ETA yet, but the feature should be released in one of the upcoming releases. Please follow https://youtrack.jetbrains.com/issue/PY-34820 to be updated.
Ran into the same problem. There's no widget for it yet, but I discovered that if you delete the header from the cell (#%%, #%% md or whatever), it will automatically delete the cell. You can also type #%% md wherever you want the markdown cell and it will create it.
Hope that helps!
If you delete the content of a cell completely, it deletes that cell!! Have fun!
Hi everyone. For your information, the new Jupyter support in DataSpell makes inserting/deleting cells much more intuitive: https://www.jetbrains.com/dataspell/