Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to show all methods that i can choose in ipython notebook?

I'm new to ipython notebook. When typing a code line, it should show all methods or attributes that I can choose. However, it didn't, and I'm not sure why.

It should look like this:

Example

Does anyone know how I can get this to work?

like image 456
Gina Avatar asked May 05 '17 02:05

Gina


2 Answers

  1. Type the library name
  2. Type period symbol .
  3. Press tab

At this point you will see drop down menu (showing all the methods)

enter image description here

This works for both python 2 and python 3

like image 125
user3062459 Avatar answered Oct 11 '22 12:10

user3062459


That should be a new feature of IPython 6.0.

But as mentioned in the official release post, is still just for command line users, and they are working to port it to all other users.

like image 21
5agado Avatar answered Oct 11 '22 14:10

5agado