Jupyter Notebook - how to enable Intellisense


(Rich) #1

Hello,

I’m new to Python and when using the notebooks I missed intellisense (enables you to ask an object what methods it has).

At the top of your note book add this line

%config IPCompleter.greedy=True

Then when you have an object, for example numpy (np) do this

np.

After the . press [TAB] and it will show you all the methods available.

image

Another useful thing is method parameters. Juypter will show you these if you press [SHIFT] and [TAB] from within the method parentheses. Eg.

Cheers
Rich


(Pietz) #2

god bless your soul

EDIT: we really need a jupyter notebook course that shows most of the bells and whistles available