Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

To display line numbers in IPython/Jupyter Notebooks, follow these steps:

  1. Launch Jupyter Notebook and open the desired notebook.

  2. Click on the 'view' dropdown menu.

  3. Select 'Toggle Line Numbers' from the dropdown menu.

Line numbers will now be displayed on the left-hand side of each cell in the notebook.