From 090f55f6fc792f9d72639d64782b9d821a96d710 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=96=87=E8=89=B3?= Date: Thu, 19 Jan 2023 18:14:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BC=B0=E5=80=BC=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dags/jh/price/price_evaluation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dags/jh/price/price_evaluation.py b/dags/jh/price/price_evaluation.py index 4715b15..b8bb9cb 100644 --- a/dags/jh/price/price_evaluation.py +++ b/dags/jh/price/price_evaluation.py @@ -85,7 +85,7 @@ normal_community_base_price.sort_values(by="cityrank", inplace=True) import_avm_evaluation_item_deal.sort_values(by="cityrank", inplace=True) import_avm_evaluation_item_third.sort_values(by="cityrank", inplace=True) -file_name = f"估值模型测试{year_month}_{dateutils.format_date(datetime.now(), '%H%M%S')}.xlsx" +file_name = f"{year_month}估值模型测试.xlsx" aim_file_name = path + '/' + file_name with pd.ExcelWriter(aim_file_name) as writer: avm_evaluation.to_excel(writer, sheet_name="92个城市估值概况", columns=["cityname","community_num","price_coverage","sample_calc_coverage","ann_calc_coverage","artificial_calc_coverage","deal_test_case_num","deal_ppe15_coverage","deal_test_comm_num","deal_test_comm_coverage","deal_rate_median","deal_coefficient","third_test_comm_num","third_test_comm_coverage","third_ppe15_coverage","third_rate_median","third_coefficient"], header=["城市名称","小区量","可输出均价小区占比","样本计算占比","神经网络计算占比","人工指导价占比","成交测试案例总量","成交测试PPE15占比","成交测试小区量","成交测试小区量占比","成交比率中位数","成交比率离散系数","第三方均价测试小区量","第三方均价测试小区量占比","第三方均价测试PPE15占比","第三方比率中位数","第三方比率离散系数"], index=False)