摘要: 1、cookie # 设置 response=Response('hello') response.set_cookie(key, value) return response # 获取 request.cookie.get(key) 2、session flask session默认保存到cook 阅读全文
posted @ 2019-12-24 23:16 市丸银 阅读(200) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/sanduzxcvbnm/p/10220718.html 阅读全文
posted @ 2019-12-24 10:15 市丸银 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 实例 import pandas as pd data=pd.DataFrame({'产品':['A','A','A','A'],'数量':[50,50,30,30]}) 去重 data.drop_duplicates() # 去除重复数据 data.drop_duplicates().reset_ 阅读全文
posted @ 2019-12-24 09:21 市丸银 阅读(771) 评论(0) 推荐(0) 编辑