combine#
- ValueCounter.combine(current_accumulator: Dict[str, List], new_accumulator: Dict[str, List]) Dict[str, List][source]#
Merge the value counts of two accumulators.
Counts for values in both accumulators are summed. Values only in
new_accumulatorare appended with their counts.- Parameters:
- Returns:
current_accumulator, updated with the counts fromnew_accumulator.- Return type: