解决警告
This commit is contained in:
@@ -85,7 +85,7 @@ def calc_consumption_rating(community_summary_df):
|
||||
count = 0
|
||||
|
||||
for city in cities:
|
||||
df = consumption_aim_df[consumption_aim_df['city'] == city]
|
||||
df = consumption_aim_df[consumption_aim_df['city'] == city].copy()
|
||||
if len(df) < 10:
|
||||
continue
|
||||
df = gmm_train(10, df, source, target)
|
||||
|
||||
Reference in New Issue
Block a user