Commit bd33a979 authored by 张彦钊's avatar 张彦钊

add

parent 75d71ae7
......@@ -43,7 +43,7 @@ def doctor():
df["ctr"] = df["service_exposure_pv_30"] / df["all_exposure"] * df["service_ctr_30"] + \
df["expert_exposure_pv_30"]/df["all_exposure"] * (df["expert_pv_30"] / df["expert_exposure_pv_30"])
df["commission"] = (df["doctor_ad_money_30_days"] + df["budan_fund"])/df["tmp"]
df["commission"] = (df["doctor_ad_money_30_days"] + df["budan_payment_30_days"])/df["tmp"]
df["pv_ad"] = df["expand_rechange_amount_30"]/df["tmp"]
df["score"] = df["ctr"]**0.5 * (df["commission"] + df["pv_ad"])
print(df)
......
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