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

Merge branch 'flagRangeDocstring' into 'develop'

reintroduced flagRange doc string

See merge request !562
parents 243910c6 b71d4a51
No related branches found
No related tags found
5 merge requests!685Release 2.4,!684Release 2.4,!567Release 2.2.1,!566Release 2.2,!562reintroduced flagRange doc string
Pipeline #124004 passed with stages
in 6 minutes and 33 seconds
......@@ -40,6 +40,27 @@ class OutliersMixin:
flag: float = BAD,
**kwargs,
) -> "SaQC":
"""
Function flags values exceeding the closed interval [`min`, `max`].
Parameters
----------
field : str
The field name of the column, holding the data-to-be-flagged.
min : float
Lower bound for valid data.
max : float
Upper bound for valid data.
flag : float, default BAD
flag to set.
Returns
-------
data : dios.DictOfSeries
A dictionary of pandas.Series, holding all the data.
flags : saqc.Flags
The quality flags of data
"""
# using .values is much faster
datacol = self._data[field].to_numpy()
......
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