1.多次付费占比改成以前的规则,1次付费人数就一次付费,2次付费人数就二次付费,3次付费人数就三次付费
This commit is contained in:
parent
67e16bb812
commit
c423941c63
@ -1134,7 +1134,7 @@ async def scatter_model(
|
||||
label = str(key2)
|
||||
n = len(tmp_df2)
|
||||
labels_dict[label] = n
|
||||
if event_type == 'pay':
|
||||
if event_type == 'pay111':#还原成以前的计算规则,如需改成累加的把pay111改成pay
|
||||
#如需要2之后所有之和,则执行下面代码,返回值为字典的labels_dict01
|
||||
labels_dict01={}
|
||||
v=-1
|
||||
|
Loading…
Reference in New Issue
Block a user