Browse Source

获取 rov 数据

罗俊辉 1 năm trước cách đây
mục cha
commit
b9354ca298
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      data_process/update_mysql_data.py

+ 1 - 1
data_process/update_mysql_data.py

@@ -62,7 +62,7 @@ class DataProcessor(object):
                 if total_view == 0:
                     label = None
                 else:
-                    label = total_return / total_view
+                    label = float(total_return) / float(total_view)
             else:
                 label = None
             return label, label_dt