Skip to content
Snippets Groups Projects
Commit 3877cd6b authored by Alán Muñoz's avatar Alán Muñoz
Browse files

modify savgol process to return series

Former-commit-id: 42aa9818ff4700ef8db2f620edd4fa3b3920b58a
parent 61b8b3fd
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,7 @@ class savgol(ProcessABC):
savgol_on_srs = lambda x: self.non_uniform_savgol(
x.index, x.values, self.parameters.window, self.parameters.polynom
)
return signal.apply(savgol_on_srs, 1)
return signal.apply(savgol_on_srs, 1).apply(pd.Series)
@staticmethod
def non_uniform_savgol(x, y, window: int, polynom: int):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment