Allocated Score: Difference between revisions

m (→‎Procedure: Deleted broken image)
Line 75:
spent_above = cand_df[cand_df[w] > split_point]['weights'].sum()
#ExhaustAllocate all ballots above split point
if spent_above>0:
cand_df.loc[cand_df[w] > split_point, 'weights'] = 0.0
763

edits