上一页 1 ··· 80 81 82 83 84 85 86 87 88 ··· 341 下一页
摘要: Python provides various options for developing graphical user interfaces (GUIs). The most important features are listed below. Tkinter − Tkinter is th 阅读全文
posted @ 2022-04-01 19:08 emanlee 阅读(137) 评论(0) 推荐(0)
摘要: Mathematically a set is a collection of items not in any particular order. A Python set is similar to this mathematical definition with below addition 阅读全文
posted @ 2022-04-01 19:07 emanlee 阅读(52) 评论(0) 推荐(0)
摘要: 01 Python 3 - Tutorial 02 Python 3 - Overview 03 Python 3 - Environment Setup 04 Python 3 - Basic Syntax 05 Python 3 - Variable Types 06 Python 3 - Ba 阅读全文
posted @ 2022-04-01 15:25 emanlee 阅读(46) 评论(0) 推荐(0)
摘要: Jaccard相似系数 Jaccard相似系数衡量的则是两个集合的相似性,它定义为两个集合的交集元素在并集中所占的比例。 与Jaccard相似系数相反,Jaccard距离则用不同元素所占的比例来衡量两个集合的区分度。 Jaccard index, 又称为Jaccard相似系数(Jaccard sim 阅读全文
posted @ 2022-04-01 12:40 emanlee 阅读(1429) 评论(0) 推荐(0)
摘要: Memory Alignment NumPy alignment goals There are three use-cases related to memory alignment in NumPy (as of 1.14): Creating structured datatypes with 阅读全文
posted @ 2022-03-29 22:42 emanlee 阅读(67) 评论(0) 推荐(0)
摘要: 两个齿轮共有18个齿和63个齿 其中某一对指定的齿从第一次相遇到第二次相遇,18个齿的齿轮要转多少周,63个齿的齿轮要转多少周 某个齿从第一次相遇到第二次相遇,则它们转动经过的齿数应是两个齿轮齿数的最小分倍数 甲、乙两人同时从A地出发,以相同的速度向B地前进,甲每行6分钟休息2分钟,乙每行210米休 阅读全文
posted @ 2022-03-27 23:10 emanlee 阅读(312) 评论(0) 推荐(0)
摘要: datetime random math any, all map, reduce, filter zip datetime 当前时间戳 import time # 引入time模块 ticks = time.time() print ("当前时间戳为:", ticks) # 当前时间戳为: 164 阅读全文
posted @ 2022-03-25 10:55 emanlee 阅读(230) 评论(0) 推荐(0)
摘要: 实例⽅法 定义:第⼀个参数必须是实例对象,该参数名⼀般约定为“self”,通过它来传递实例的属性和⽅法(也可以传类的属性和⽅法); 调⽤:只能由实例对象调⽤。类⽅法 定义:使⽤装饰器@classmethod。第⼀个参数必须是当前类对象,该参数名⼀般约定为“cls”,通过它来传递类的属性和⽅法(不能传 阅读全文
posted @ 2022-03-23 23:17 emanlee 阅读(175) 评论(0) 推荐(0)
摘要: 如果只创建表结构,可用如下语句;select * into 新表 from 旧表 where 1<>1; 如果创建表结构并且同时复制数据,可用如下语句:select * into 新表 from 旧表; 说明:其中第一句用了1<>1,也就代表条件永远为false,这样就表示没有数据被筛选,所以只是建 阅读全文
posted @ 2022-03-23 21:48 emanlee 阅读(824) 评论(0) 推荐(0)
摘要: SQL Server 执行后撤销 事务 Begin transaction,且执行了Update后还未commit transaction,可以用rollback transaction来回滚和撤销 先启动一个事务 BEGIN TRANSACTION --启动一个事务 UPDATE TABLENAM 阅读全文
posted @ 2022-03-23 21:22 emanlee 阅读(3446) 评论(0) 推荐(0)
上一页 1 ··· 80 81 82 83 84 85 86 87 88 ··· 341 下一页