11 2022 档案

摘要:1. https://hexed.it/ 2. 上传sublime_text,按下面的修改 DesciptionOffsetOriginalPatched Initial License Check 0x003A31F2 55 41 57 41 48 31 C0 C3 Persistent Lice 阅读全文
posted @ 2022-11-27 20:10 华小电 阅读(2519) 评论(1) 推荐(2) 编辑
摘要:df.to_sql参数介绍: name:SQL表的名称。 con:sqlalchemy.engine.Engine或sqlite3.Connection 使用SQLAlchemy可以使用该库支持的任何数据库。为sqlite3.Connection对象提供了旧版支持。 if_exists:{'fail 阅读全文
posted @ 2022-11-23 20:50 华小电 阅读(3748) 评论(0) 推荐(0) 编辑
摘要:1 一行 For 循环 #For循环在一行mylist = [200, 300, 400, 500] #正常方式 result = [] for x in mylist: if x > 250: result.append(x) print(result) # [300, 400, 500] #一行 阅读全文
posted @ 2022-11-20 16:48 华小电 阅读(73) 评论(0) 推荐(0) 编辑
摘要:pandas.DataFrame 进行新增列操作的五种方法:insert、reindex、loc、obj[‘col’]、concat。 data: a b c 0 1 2 3 1 4 5 6 2 7 8 9 一、insert 方法 使用 pandas 的 insert 方法,第一个参数指定插入列的位 阅读全文
posted @ 2022-11-06 10:50 华小电 阅读(1879) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示