Allocated Score: Difference between revisions
→Python Implementation
m (→Procedure: Deleted broken image) |
Dr. Edmonds (talk | contribs) |
||
Line 75:
spent_above = cand_df[cand_df[w] > split_point]['weights'].sum()
#
if spent_above>0:
cand_df.loc[cand_df[w] > split_point, 'weights'] = 0.0
|