reverted unitended changes
This commit is contained in:
parent
6851fedbca
commit
c3928f756e
@ -196,7 +196,7 @@ class TimeSeriesCore:
|
|||||||
def tail(self, n: int = 6):
|
def tail(self, n: int = 6):
|
||||||
keys = list(self.time_series.keys())
|
keys = list(self.time_series.keys())
|
||||||
keys = keys[-n:]
|
keys = keys[-n:]
|
||||||
result = [(key, self.time_series[key]) for key in keys]
|
result = [item for item in self.time_series.items() if item[0] in keys]
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user