def NormalizeInPlace(self):
        divisor = sum(self.party_support.values())
        for party in self.party_support:
            self.party_support[party] /= divisor
Normalize in-place so all party support adds to 1.
dataset/ETHPy150Open j3camero/canada-election-forecast/poll.py/Poll.NormalizeInPlace