在Jupyter Notebook上显示所有可能的方法 [英] Showing all possible methods on Jupyter notebook

查看:588
本文介绍了在Jupyter Notebook上显示所有可能的方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此,我浏览了YouTube,发现可以显示所有可能的方法.例如,

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

我读到您可以使用TAB或Shift + Tab,但仍然无法正常工作.我已经下载了最新的Python.如何使该选项可用?

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?

推荐答案

您必须首先初始化te对象.例如:在单元格中执行a=[],然后键入a.TAB,jupyter将为您显示列表的所有可能方法. (对于所有其他对象类似)

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)

列表示例:

数据框示例:

这篇关于在Jupyter Notebook上显示所有可能的方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆