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

Update baseflagger.py

parent 19f1e1b3
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,9 @@ class BaseFlagger:
flags = flags.squeeze()
flags = flags.values
# NOTE:
# - breaks if we loose the pd.Categorical dtype, assert this condition!
# - there is no way to overwrite with 'better' flags
mask = flags < flag
if isinstance(flag, pd.Series):
flags[mask] = flag[mask]
......
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