修改: PriceSystem/feature/region_feature.py
修改: PriceSystem/rent_test.py
This commit is contained in:
@@ -400,7 +400,7 @@ def save_region_feature(ct,rl,timd,timm):
|
||||
|
||||
save_lg.replace_one(
|
||||
|
||||
{"city":ct,"region":rl,"weekend":timme},
|
||||
{"city":ct,"region":rl,"weekend":timme,"cat":'region'},
|
||||
|
||||
{"city":ct,"region":rl,"district_name":None,"markup":markup,'ratio':region_feature[0],
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ def get_weekend(tt):
|
||||
pacific = pytz.timezone('Asia/Shanghai')
|
||||
return pacific.localize(bb)
|
||||
|
||||
weekend = get_weekend('20180415')
|
||||
weekend = get_weekend('20180515')
|
||||
|
||||
ct='上海'
|
||||
rl='奉贤'
|
||||
|
||||
Reference in New Issue
Block a user