@@ -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)
return label, label_dt