From 692ad33e89541ed659ebf6af02466798b982f4cd Mon Sep 17 00:00:00 2001 From: xuhe Date: Sat, 25 Feb 2023 10:06:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=B0=E5=80=BC=E7=9B=91=E6=B5=8B=E5=92=8C?= =?UTF-8?q?=E6=B3=A2=E5=8A=A8=E5=8F=98=E5=8C=96=E4=BF=AE=E6=94=B9=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=BA=93=E8=BF=9E=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dags/jh/price/price_deviation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dags/jh/price/price_deviation.py b/dags/jh/price/price_deviation.py index 53ea7f4..ed00a3b 100644 --- a/dags/jh/price/price_deviation.py +++ b/dags/jh/price/price_deviation.py @@ -42,7 +42,7 @@ deal_price_df = deal_price_df[abs(deal_price_df['ppe']) > 0.15] file_name = f"{month_now}测试偏差较大案例统计数据.xlsx" aim_file_name = path + '/' + file_name with pd.ExcelWriter(aim_file_name) as writer: - deal_price_df.to_excel(writer, sheet_name="成交", columns=['urbn_id','urbn_nm','gujia_bds_mdl_id','gujia_admndiv_nm','gujia_comm_id','comm_nm','gujia_bds_clmtd','gujia_comm_basic_prc','gujia_bds_trdtckt_prc','PPE'], header=["城市id", "城市名称","成交id","区域","小区id","小区名称",'计算类型','计算价格','成交价格','PPE'], index=False) + deal_price_df.to_excel(writer, sheet_name="成交", columns=['urbn_id','urbn_nm','gujia_bds_mdl_id','gujia_admndiv_nm','gujia_comm_id','comm_nm','gujia_bds_clmtd','gujia_comm_basic_prc','gujia_bds_trdtckt_prc','ppe'], header=["城市id", "城市名称","成交id","区域","小区id","小区名称",'计算类型','计算价格','成交价格','PPE'], index=False) # third_price_df.to_excel(writer, sheet_name="第三方", columns=['urbn_id','urbn_nm','gujia_trdpt_avprc_id','gujia_admndiv_nm','gujia_comm_id','comm_nm','gujia_bds_clmtd','gujia_comm_basic_prc','gujia_bds_comm_avprc','PPE','gujia_dtsr_dsc'], header=["城市id", "城市名称","第三方id","区域","小区id","小区名称",'计算类型','计算价格','第三方价格','PPE','来源'],index=False) log.info("偏差较大案例统计数据结束")