Change index number in jupyter notebook

I am using a Jupyter Notebook to write some lessons. However, I ran into a problem. As shown in the following figure, when I made changes to my colleague’s notebook program, the index is incorrect. how to change them in 1 , in [2] - in [34], in [35]?enter image description here

+4
source share
1 answer

Select menu CellRun all. This will execute all cells and you will have ordered index numbers of the cell. If it does not start with the cell index 1, first click KernelRestartand confirm the restart.

+6
source

Source: https://habr.com/ru/post/1619514/


All Articles