If you hit the TAB key while typing a variable name, Jupyter will show you all the possible variables it could be, or auto-complete the name if there's only a single option. If you hit TAB after typing a variable name, Jupyter will show you the methods on the variable.
Autocompletion makes it much quicker to write code, and can also enable you to discover new methods on variables.
Instructions
- Open the Jupyter console by typing
ipython
. - Create a variable.
- Experiment with autocompletion by typing the variable name.
- Exit Jupyter console by typing
exit