liqian 3 năm trước cách đây
mục cha
commit
df00bb87cd
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      rule_rank_h_18_19.py

+ 1 - 1
rule_rank_h_18_19.py

@@ -120,7 +120,7 @@ def video_rank(app_type, df, now_date, now_h, return_count):
     df = df.append(h_recall_df)
     h_else_df = df.drop_duplicates(['videoid'], keep=False)
     h_else_df = h_else_df.sort_values(by=['score'], ascending=False)
-    h_else_videos = h_else_df['videoid'].to_list
+    h_else_videos = h_else_df['videoid'].to_list()
     # 合并,给定分数
     final_videos = h_recall_videos + h_else_videos
     final_result = {}