Skip to content
Snippets Groups Projects
Commit 3aa1804d authored by David Schäfer's avatar David Schäfer
Browse files

[FIX] outliers.flagOffset raises IndexError for all nan-data

parent 6143c92e
No related branches found
No related tags found
2 merge requests!271Static expansion of regular expressions,!260Follow-Up Translations
......@@ -875,6 +875,8 @@ def flagOffset(
"""
dataseries = data[field].dropna()
if dataseries.empty:
return data, flags
# using reverted series - because ... long story.
ind = dataseries.index
......
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