上一页 1 ··· 47 48 49 50 51 52 53 54 55 ··· 97 下一页
摘要: 递归 def df_merge(self, df_lst): df_len = len(df_lst) if df_len == 1: return df_lst[0] elif df_len == 2: return df_lst[0].merge(df_lst[1], on=["company" 阅读全文
posted @ 2020-05-11 13:40 市丸银 阅读(337) 评论(0) 推荐(0)
摘要: 目的:当表中unique索引或者primary key(主键)出现重复时,执行update操作,当不出现重复时,执行insert操作 例子: INSERT INTO tp_circle_recommend (userid, circleids, nohad, bothhad, had) VALUES 阅读全文
posted @ 2020-05-08 14:45 市丸银 阅读(351) 评论(0) 推荐(0)
摘要: 简单实用 https://www.cnblogs.com/liulangmao/p/9296269.html 注意np.corrcoef(df) 得到的也是矩阵 阅读全文
posted @ 2020-05-08 10:14 市丸银 阅读(718) 评论(0) 推荐(0)
摘要: 最简单的安装方法 conda conda install scikit-learn 其它,参考 https://www.cnblogs.com/magle/p/5638409.html 阅读全文
posted @ 2020-05-08 09:54 市丸银 阅读(20098) 评论(0) 推荐(1)
摘要: file_name = "code.png" file_path = os.path.join(pics_path, file_name) self.driver.find_element_by_tag_name('img').screenshot(file_path) 切换窗口 driver.ex 阅读全文
posted @ 2020-05-07 17:47 市丸银 阅读(1263) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/ 这个链接足矣 阅读全文
posted @ 2020-04-28 11:05 市丸银 阅读(181) 评论(0) 推荐(0)
摘要: https://tool.lu/ 为了开心 阅读全文
posted @ 2020-04-26 17:41 市丸银 阅读(116) 评论(0) 推荐(0)
摘要: git stash git pull git stash pop 解决git 冲突的方法, 遇到的情况,在服务器上修改代码没有提交到远程分支, 在本地修改代码后,提交远程分支, 在服务器上pull报错 阅读全文
posted @ 2020-04-24 10:28 市丸银 阅读(169) 评论(0) 推荐(0)
摘要: 1、DateFrame索引与切片 https://www.cnblogs.com/carlber/p/9917370.html 阅读全文
posted @ 2020-04-17 11:59 市丸银 阅读(93) 评论(0) 推荐(0)
摘要: 1、参考文章 http://liyangliang.me/posts/2015/06/using-supervisor/ 按照这个参考完全够用 2、官网 http://supervisord.org/ 3、补充 运行挂起 nohup python解释器的决对路径 运行的决定路径 & 阅读全文
posted @ 2020-04-16 16:25 市丸银 阅读(364) 评论(0) 推荐(0)
上一页 1 ··· 47 48 49 50 51 52 53 54 55 ··· 97 下一页