首页 > 其他分享 >jupyter-notebook中tab的妙用

jupyter-notebook中tab的妙用

时间:2023-01-02 22:14:59浏览次数:33  
标签:妙用 jupyter 对象 提示 notebook tab

  jupyter-notebook作为python中的常用开发工具,非常不错,今天听讲座,可以妙用它的提示,各种对象又不同的方法,那就是对象加.后多按一下tab,就会弹出各种提示了,非常好用,来试试吧。

 代码为:

a = 'Hello world'
b = 'jju'

 a作为字符串对象,输入a.按下tab,如图:

其他对象的方法也可以同样掉出来的。

标签:妙用,jupyter,对象,提示,notebook,tab
From: https://www.cnblogs.com/guochaoxxl/p/17020664.html

相关文章

  • cpp lmysqlcppconn insert multiple rows into mysql table via groups and remainder
    //model/util.h#pragmaonce#ifndef__util_h__#define__util_h__#include<chrono>#include<ctime>#include<fstream>#include<iomanip>#include<iostream>......
  • Table的虚拟列表和无限滚动
    Table的虚拟列表和无限滚动一、使用自定义指令实现滚动到底部加载数据在main.js中加入loadmore指令Vue.directive('loadmore',{bind(el,binding){constbody......
  • some thing about conda and jupyter notebook
    -condaappendchannels,$condaconfig--appendchannelsconda-forgethenasimplecondaconfig~/.condarcshouldbe,auto_activate_base:falseshow_channe......
  • Centos /etc/fstab/出错,提示 Give root password maintenance
    1、在登陆界面可以看见提示进入紧急模式2、输入root密码,进入系统,使用mount-a尝试挂载会提示有错误的挂载这种情况我碰见的是维修后磁盘的uuid发生变化,需要修改uuid3......
  • C# List<T> 转 DataTable
    网上有不少List<T>转DataTable的代码,但都是要指定类型的,如: ListToDT<T>(List<T>xxxx)这样的,这样用总觉得有点别扭,想实现如List<T>item.toDataTable()这样的转换......
  • [Algorithm] Stable internships
    AcompanyhashiredNinternstoeachjoinoneofNdifferentteams.Eachinternhasrankedtheirpreferencesforwhichteamstheywishtojoin,andeachteam......
  • CentOS 定时任务 Crontab
    一、环境1.CentOS7.92.CrontabCrontab是Linux下的一个执行定时任务的守护进程(daemon),它有一个文件里面维护着所有需要定时执行的任务条目。二、安装1.安装默认......
  • Codeforces 22 B. Bargaining Table 做题记录
    其实是比较基础的模拟($n<=25$),写个$O(n^4)$的暴力就过了。感觉可以用倍增优化一下,可以但没必要。……太菜了还挂了几发。反思一下,一个是写函数改来改去int类型没返......
  • P1829 [国家集训队]Crash的数字表格 / JZPTAB
    莫比乌斯反演\(\color{red}{f(n)=\sum\limits_{d|n}g(d)\Leftrightarrowg(n)=\sum\limits_{d|n}\mu(d)f(\dfrac{n}{d})}\)\(f(n),g(n)\)均为积性函数。\(f(n)\)称为......
  • 可更改(mutable)与不可更改(immutable)对象
    '''在python中,类型属于对象,变量是没有类型的,变量只是对象的引用(指针)可变对象和不可变对象可变对象list,dictionary不可变对象tuples,string,numbers'''a=10def......