How to enable auto-completion in Jupyter Notebook

Dataiku
Dataiku Administrator, Dataiker, Alpha Tester Posts: 88 Administrator

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

Tagged:
Setup Info
    Tags
      Help me…