Skip to content

Commit

Permalink
Fixed #159
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp Kraft committed Aug 7, 2024
1 parent 647f114 commit 8a53004
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions odmf/db/transformed_timeseries.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def size(self):

def asseries(self, start=None, end=None):
datasets = self.sources
data = pd.Series()
data = []
if self.expression.startswith('plugin.transformation'):
# This is a plugin transformation
# import transformation module
Expand All @@ -42,7 +42,8 @@ def asseries(self, start=None, end=None):
v = src.asseries(start, end)
v = self.transform(v)
data = data.append(v)
data = data.sort_index()

data = pd.concat(data).sort_index()
return data

def updatetime(self):
Expand Down

0 comments on commit 8a53004

Please sign in to comment.