dict_accumulator

class coffea.processor.dict_accumulator[source]

Bases: dict, AccumulatorABC

A dictionary with accumulator semantics

See dict for further info. It is assumed that the contents of the dict have accumulator semantics.

Methods Summary

add(other)

Add another accumulator to this one in-place

identity()

Identity of the accumulator

Methods Documentation

add(other)[source]

Add another accumulator to this one in-place

identity()[source]

Identity of the accumulator

A value such that any other value added to it will return the other value