修复bug
This commit is contained in:
@@ -136,7 +136,7 @@ def calc_consumption_rating(community_summary_df):
|
|||||||
count += len(actions)
|
count += len(actions)
|
||||||
actions.clear()
|
actions.clear()
|
||||||
log.info("评级完成,共更新: {}".format(count))
|
log.info("评级完成,共更新: {}".format(count))
|
||||||
return df
|
return pd.merge(community_summary_df, df, how='left', on=['_id', 'city', 'consumption_potential'])
|
||||||
|
|
||||||
|
|
||||||
def sync_by_city(city_now):
|
def sync_by_city(city_now):
|
||||||
|
|||||||
Reference in New Issue
Block a user