How to enable auto-completion in Jupyter Notebook

Many of you have shown interest in enabling auto-completion in Jupyter Notebooks so, in the interest of knowledge sharing, we wanted to demonstrate just how simple it is. 

Access the Jupyter Menu

You have auto-complete in Jupyter notebooks like you have in any other Jupyter environment. Simply hit the "Tab" key while writing code. This will open a menu with suggestions. Hit "Enter" to choose the suggestion.

image.png

 

What’s next?

There are many useful keyboard shortcuts in Jupyter notebooks. Examples include:

Enter: enter edit mode

Shift+Enter: run cell, select below

Shift+Tab: signature autocompletion

Y: to code

M: to markdown

A/B: insert cell above/­below

X: cut selected cell

Share:

Labels

?
Labels (2)
Version history
Publication date:
07-03-2022 02:49 PM
Version history
Last update:
‎03-31-2020 04:49 PM
Updated by:
Contributors