Ask Your Question
1

In IPython/Jupyter Notebooks, how can line numbers be displayed?

asked 2022-05-14 11:00:00 +0000

lalupa gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2022-09-01 09:00:00 +0000

devzero gravatar image

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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-05-14 11:00:00 +0000

Seen: 9 times

Last updated: Sep 01 '22