Commit 7999ce83 authored by 王志伟's avatar 王志伟

数据指标波动假设检验统计

parent 8ef235a3
......@@ -183,9 +183,11 @@ def chi_DATA_yesterday(x,y,z,q,t1):
chi_ctr_precise_recently=chi_DATA_recently("clk_count_oldUser_all_a","clk_count_oldUser_all_b","imp_count_oldUser_all_precise","on_click_diary_card",five_days,yesterday)
temp1=[float(str(Decimal(chi_ctr_precise_recently[i]).quantize(Decimal('0.0')))) for i in range(len(chi_ctr_precise_recently))]
temp1_a=[temp1[0],temp1[1]-temp1[0]]
print(temp1)
chi_ctr_precise_yesterday=chi_DATA_yesterday("clk_count_oldUser_all_a","clk_count_oldUser_all_b","imp_count_oldUser_all_precise","on_click_diary_card",yesterday)
temp2=[float(chi_ctr_precise_yesterday[i]) for i in range(len(chi_ctr_precise_yesterday))]
temp2_a=[temp2[0],temp2[1]-temp2[0]]
print(temp2)
a3=pd.DataFrame({'原':temp1,'测':temp2})
......
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