list_accumulator#

class coffea.processor.list_accumulator(iterable=(), /)[source]#

Bases: list, AccumulatorABC

A list with accumulator semantics

See list for further info

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