How to revive cells in iPython notebook

problem

When working with Python, I often use the iPython notebook.

I had a problem the other day. The cell in which I wrote the script seemed to hit something on the keyboard by mistake and disappeared.

The cause was that I pressed "x (lowercase alphabetic)". The iPython notebook seems to have "Edit mode" (focused on the textbox) and "Command mode" (not focused on the textbox; press Esc to enter this mode), "Command It seems that there was "Delete cell" in the shortcut when "mode". That was the "x".

You can check the shortcut list from Help as follows.

スクリーンショット 2016-12-18 14.43.41.png

Below is a list.

スクリーンショット 2016-12-18 14.45.16.png

Solution

The solution is simple. You can undo the cell deletion by pressing "z" in "Command mode" in the shortcut!

I haven't used the iPython notebook shortcut so far, so I'd like to use it. Even if you do not use it, you need to be careful because unexpected behavior will occur if you do not know its existence.

Recommended Posts

How to revive cells in iPython notebook
[IPython] How to Share IPython Notebook
How to use IPython Notebook
How to import NoteBook as a module in Jupyter (IPython)
How to import NoteBook as a module in Jupyter (IPython)
How to execute commands in jupyter notebook
How to use IPython
How to debug with Jupyter or iPython Notebook
How to develop in Python
How to use Jupyter Notebook
[Python] How to do PCA in Python
How to handle session in SQLAlchemy
How to use classes in Theano
How to collect images in Python
How to update Spyder in Anaconda
How to use SQLite in Python
How to convert 0.5 to 1056964608 in one shot
How to reflect CSS in Django
How to kill processes in bulk
How to use Mysql in python
How to wrap C in Python
How to use PubChem in Python
Batch processing notes in IPython Notebook
How to run TensorFlow 1.0 code in 2.0
How to handle Japanese in Python
How to log in to Docker + NGINX
How to call PyTorch in Julia
How to resolve ModuleNotFoundError: No module named XXX in Jupyter Notebook
How to specify a .py file to load at startup in IPython 0.13
How to use calculated columns in CASTable
[Introduction to Python] How to use class in Python?
How to suppress display error in matplotlib
How to access environment variables in Python
How to dynamically define variables in Python
How to do R chartr () in Python
How to convert csv to tsv in CLI
How to delete expired sessions in Django
[Itertools.permutations] How to put permutations in Python
How to use Google Test in C
How to implement nested serializer in drf-flex-fields
How to work with BigQuery in Python
How to do'git fetch --tags' in GitPython
How to get a stacktrace in python
How to display multiplication table in python
How to extract polygon area in Python
How to check opencv version in python
How to use jupyter notebook with ABCI
How to enable SSL (TLS) in Apache
How to use Anaconda interpreter in PyCharm
How to specify non-check target in Flake8
How to handle consecutive values in MySQL
How to switch python versions in cloud9
How to adjust image contrast in Python
How to use __slots__ in Python class
Jupyter Notebook Basics of how to use
How to use the IPython debugger (ipdb)
How to do Server-Sent Events in Django
How to use regular expressions in Python
How to implement Scroll View in pythonista 1
How to convert DateTimeField format in Django
How to use Map in Android ViewPager