Commit 112184d0 authored by 张彦钊's avatar 张彦钊

add test

parent 257f49a2
......@@ -153,7 +153,7 @@ def get_data():
"a.love,a.stock,a.car,a.child,a.homework,a.work,a.job " \
"from esmm_train_data e left join user_feature_clean u on e.device_id = u.device_id " \
"left join cid_type_top c on e.device_id = c.device_id left join cid_time on e.cid_id = cid_time.cid_id " \
"left join app_list_sort a " \
"left join app_list_sort a on e.device_id = a.device_id " \
"where e.stat_date >= '{}'".format(start)
df = con_sql(db, sql)
print(df.shape)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment