修改库
This commit is contained in:
@@ -87,7 +87,7 @@ monthly_data = monthly_data.sort_values(by=["city", "region", "name"])
|
||||
# community_base_price = oracle.scan_by_sql_to_data_frame(f"select commid, year_month, avg_price, calc_type,confidence, cityname from community_base_price_gj where year_month > {before_year_month}")
|
||||
|
||||
|
||||
community_base_price = pgsql.scan_by_sql_to_data_frame(f"select gujia_bds_id as commid,gujiabds_clc_yrmo_val as year_month, gujia_comm_basic_prc as avg_price, urbn_nm as cityname,gujia_bds_clmtd as calc_type, gujia_bds_cfdrg as confidence from t_app_p9pha_plda.avm_community_base_price_gj_h where gujiabds_clc_yrmo_val>{before_year_month} ")
|
||||
community_base_price = pgsql.scan_by_sql_to_data_frame(f"select gujia_bds_id as commid,gujiabds_clc_yrmo_val as year_month, gujia_comm_basic_prc as avg_price, urbn_nm as cityname,gujia_bds_clmtd as calc_type, gujia_bds_cfdrg as confidence from price_stat.avm_community_base_price where gujiabds_clc_yrmo_val>{before_year_month} ")
|
||||
community_base_price = community_base_price.sort_values(by=['commid', 'year_month'], ascending=[True, True])
|
||||
|
||||
# In[15]:
|
||||
|
||||
Reference in New Issue
Block a user