We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec2d205 commit c5ff3c3Copy full SHA for c5ff3c3
pluma/stream/zeromq.py
@@ -38,7 +38,9 @@ def load(self):
38
self.data = self.data.join(zmq_data, on="Counter")
39
if self.clocksource is not None:
40
index_name = self.data.index.name
41
- counter_timedelta = pd.to_timedelta(self.data[self.clocksource] - self.data[self.clocksource][0], self.clockunit)
+ counter_timedelta = pd.to_timedelta(
42
+ self.data[self.clocksource] - self.data[self.clocksource][0], self.clockunit
43
+ )
44
self.data.index = self.data.index[0] + counter_timedelta
45
self.data.index.name = index_name
46
0 commit comments