Skip to content
Snippets Groups Projects
Commit a1e46903 authored by Peter Lünenschloß's avatar Peter Lünenschloß
Browse files

added just-pass-empty clause to modelling_rollingMean

parent 38713352
No related branches found
No related tags found
2 merge requests!193Release 1.4,!188Release 1.4
Pipeline #5361 passed with stage
in 6 minutes and 37 seconds
......@@ -186,6 +186,8 @@ def modelling_rollingMean(data, field, flagger, winsz, eval_flags=True, min_peri
data = data.copy()
to_fit = data[field]
flags = flagger.getFlags(field)
if to_fit.empty:
return data, flagger
# starting with the annoying case: finding the rolling interval centers of not-harmonized input time series:
if (to_fit.index.freqstr is None) and center:
......
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