01 2022 档案

摘要:result = mergeresult[mergeresult.columns] 阅读全文
posted @ 2022-01-27 18:33 ivyJ 阅读(30) 评论(0) 推荐(0)
摘要:http://t.zoukankan.com/traditional-p-13090698.html 阅读全文
posted @ 2022-01-11 18:31 ivyJ 阅读(12) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/erinapple/article/details/80838359 三目运算符: tmp = data.assign(**{'ws^2': data.apply(lambda row: sum(row['ws'] * np.where( row['fac 阅读全文
posted @ 2022-01-10 16:23 ivyJ 阅读(77) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/qq_27825451/article/details/82698929 阅读全文
posted @ 2022-01-10 15:50 ivyJ 阅读(17) 评论(0) 推荐(0)
摘要:用numpy.float64,在做groupby的时候,其他str字段不会连到一起,组合成一大串 agg = sensis.groupby(by=['bu'], as_index=False).sum()用float来groupby 的话,其他列的字段多个合并成一连串 阅读全文
posted @ 2022-01-06 11:35 ivyJ 阅读(628) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/zhuochong/p/14675984.html 阅读全文
posted @ 2022-01-04 18:11 ivyJ 阅读(22) 评论(0) 推荐(0)
摘要:def _load_config(file): with open(file, 'r') as f: configs = json.load(f) for config in configs: if 'z' in config: for file in config['zips']: file['a 阅读全文
posted @ 2022-01-04 17:46 ivyJ 阅读(102) 评论(0) 推荐(0)