1 | initial version |
To display line numbers in IPython/Jupyter Notebooks, follow these steps:
Launch Jupyter Notebook and open the desired notebook.
Click on the 'view' dropdown menu.
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.