This commit is contained in:
沈健
2024-07-22 17:38:13 +08:00
parent 202a5b9198
commit ad255ba0db
+1
View File
@@ -56,6 +56,7 @@ for city in city_name_id_map:
price_merge = price_merge.merge(data_df_temp[['_id','国信达价格']], on='_id', how='left')
price_merge.rename(columns={'city': '城市', 'district': '区域', '_id': '小区ID', 'name': '小区名','yearmonth':'月份'}, inplace=True)
df_concat = pd.concat([df_concat,price_merge])
break
df_concat.to_excel(yearmonth + '小区第三方均价输出.xlsx', encoding='utf-8', index=False)
output_path = pathAll + "/" + yearmonth + '小区第三方均价输出.xlsx'