MCPcopy Create free account
hub / github.com/It4innovations/hyperqueue / average

Function average

benchmarks/src/postprocessing/common.py:79–82  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

77
78
79def average(data) -> float:
80 if not data:
81 return np.nan
82 return sum(data) / float(len(data))
83
84
85def pd_print_all():

Callers 4

render_benchmarkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected