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

Function accumulate

benchmarks/src/postprocessing/monitor.py:242–245  ·  view source on GitHub ↗
(column)

Source from the content-addressed store, hash-verified

240 time = df[DATETIME_KEY]
241
242 def accumulate(column):
243 values = df[column]
244 values = values - values.min()
245 return resample(values, time)
246
247 read = accumulate(read_col)
248 write = accumulate(write_col)

Callers 1

Calls 1

resampleFunction · 0.85

Tested by

no test coverage detected