Jul-22-2023, 10:57 PM
Greetings and felicitations!
Why not show us what val_group_fields and sumdict look like? Maybe also explain exactly what you wish to achieve?
You can't add an integer to a list.
You can append an integer to a list. Is that what you want to do?
You can remove an element from a list. Is that what you want to do?
You can add a list to a list. Is that what you want to do?
You can divide an integer by a floating point number and vice-versa.
field is presumably an integer.
will give a number, probably not an integer, probably less than 1.
I can't see what this is for:
What should it achieve?
Why not show us what val_group_fields and sumdict look like? Maybe also explain exactly what you wish to achieve?
You can't add an integer to a list.
You can append an integer to a list. Is that what you want to do?
You can remove an element from a list. Is that what you want to do?
You can add a list to a list. Is that what you want to do?
You can divide an integer by a floating point number and vice-versa.
field is presumably an integer.
Quote:sumdict[field]) / (sumdict["Total"]
will give a number, probably not an integer, probably less than 1.
I can't see what this is for:
Quote:i+= mprop * (1 - mprop)
What should it achieve?