Fix timestamps for filename

This commit is contained in:
Jose Gracia 2024-02-20 16:52:27 +01:00
parent 277b3e936e
commit 20cf200053

View file

@ -96,6 +96,8 @@ class Power:
power = cls(nodes)
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.by_node = power.dataframe.groupby('node')
power.energy = power.summarize_energy()