Fix timestamps for filename
This commit is contained in:
parent
277b3e936e
commit
20cf200053
1 changed files with 2 additions and 0 deletions
|
@ -96,6 +96,8 @@ class Power:
|
||||||
|
|
||||||
power = cls(nodes)
|
power = cls(nodes)
|
||||||
power.epochs = dataframe.groupby('time')
|
power.epochs = dataframe.groupby('time')
|
||||||
|
times = list(power.epochs.groups.keys())
|
||||||
|
power.first_ts, power.last_ts = times[0], times[-1]
|
||||||
power.dataframe = dataframe
|
power.dataframe = dataframe
|
||||||
power.by_node = power.dataframe.groupby('node')
|
power.by_node = power.dataframe.groupby('node')
|
||||||
power.energy = power.summarize_energy()
|
power.energy = power.summarize_energy()
|
||||||
|
|
Loading…
Reference in a new issue