Showing all possible methods on Jupyter notebook

筅森魡賤 提交于 2020-01-25 06:05:32

问题


So I was browsing through YouTube and found that it's possible to show all possible methods. For instance,

I read you could use TAB or Shift+Tab but I still cannot get it to work. I have the latest Python downloaded. How can I make this option available?


回答1:


You have to first initialize te object. Ex: execute a=[] in a cell, then type a.TAB and jupyter will show you all possible methods for a list. (similar for all other objects)

Example for a list:

Example for a Dataframe:



来源:https://stackoverflow.com/questions/54636383/showing-all-possible-methods-on-jupyter-notebook

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!