摘要: VARIANT and VARIANTARG Use VARIANTARG to describe arguments passed within DISPPARAMS, and VARIANT to specify variant data that cannot be passed by ref 阅读全文
posted @ 2020-04-02 10:15 JohnYang819 阅读(1077) 评论(0) 推荐(0) 编辑
摘要: Summary of Indexing operation in DataFrame of Pandas For new users of pandas, the index of DataFrame may seem confusing, so personally I list all its 阅读全文
posted @ 2020-04-02 00:42 JohnYang819 阅读(182) 评论(0) 推荐(0) 编辑
摘要: Possible data inputs to DataFrame constructor: (1) 2D ndarray 0 1 2 3 0 0 1 2 3 1 4 5 6 7 2 8 9 10 11 (2)dict of arrays,lists,tuples or series a b c 0 阅读全文
posted @ 2020-04-01 11:37 JohnYang819 阅读(461) 评论(0) 推荐(0) 编辑
摘要: 1.摘要 在同一数据库中查询某值,内置数据结构的查询速度快还是数据库sqlite3的查询速度快?针对这一问题,通过构建一个包含2500个随机数的列表,并将其插入sqlite3数据库中,利用timeit模块,分别对内置数据结构list和sqlite3查询某一值在不在数据组中进行对比。 2.代码 >>> 阅读全文
posted @ 2020-03-28 21:22 JohnYang819 阅读(220) 评论(0) 推荐(0) 编辑
摘要: 1.概述sqlite3是一种轻便的数据库,由DDL(Data defination language),DML(Data manipulation language),TCL(Transaction control language)。Join主要用于DML中SELECT语句中可选参数FROM后中用 阅读全文
posted @ 2020-03-26 12:03 JohnYang819 阅读(1253) 评论(0) 推荐(1) 编辑
摘要: 如果我们git clone的下载代码的时候是连接的https://而不是git@git (ssh)的形式,当我们操作git pull/push到远程的时候,总是提示我们输入账号和密码才能操作成功,频繁的输入账号和密码会很麻烦。 解决办法: git bash进入你的项目目录,输入: git confi 阅读全文
posted @ 2020-03-21 16:05 JohnYang819 阅读(693) 评论(0) 推荐(0) 编辑
摘要: (1)当commit 完后,发现少add几个文件,可以: $ git commit -m 'initial commit' $ git add forgotten_file $ git commit --amend (2) 修改了a.txt,但没有add 到暂存区,撤销到没有修改过该文件: $ gi 阅读全文
posted @ 2020-03-20 20:27 JohnYang819 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 1.什么是.gitignore文件?有什么作用? 在Git中,有一种特殊的文件,其文件全名就是 .gitignore,这个文件可以用txt打开,主要功能是屏蔽某些文件,使得这些文件不被追踪(tracked),自然push后也不会上传到github等平台。 2.有什么规则? (1)# content 阅读全文
posted @ 2020-03-19 22:04 JohnYang819 阅读(10139) 评论(0) 推荐(0) 编辑
摘要: 1.什么是Lazy-bind模式,Early-bind模式? win32com中,Lazy-bind 模式指的是程序事先不知道对象的任何方法和属性,当对象属性,方法被调用时,程序才向对象发出一个询问(query),如果对方法和属性的询问成功,则调用成功,而Early-bind则是指程序事先知道对象的 阅读全文
posted @ 2020-03-18 23:32 JohnYang819 阅读(1309) 评论(0) 推荐(0) 编辑
摘要: You may ask me why do i strive constantly, what i am striving for? Yep, the same question haunts me again and again. When the code runs smoothly and t 阅读全文
posted @ 2020-03-10 22:07 JohnYang819 阅读(138) 评论(0) 推荐(0) 编辑