X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftools%2Fpresentation%2Futils.py;h=2fbf70cadcf6c648bd47a1e31fbbef7616de145c;hb=7cfdac0cf07e3a7d9a8b53b7621f8b7500fd1515;hp=bc62268937d339e3faa224b109f611fb7d904f3f;hpb=4f5872c1bb23873b3a93cb471aae8700d5ca029d;p=csit.git diff --git a/resources/tools/presentation/utils.py b/resources/tools/presentation/utils.py index bc62268937..2fbf70cadc 100644 --- a/resources/tools/presentation/utils.py +++ b/resources/tools/presentation/utils.py @@ -67,6 +67,7 @@ def relative_change(nr1, nr2): return float(((nr2 - nr1) / nr1) * 100) + def remove_outliers(input_list, outlier_const=1.5, window=14): """Return list with outliers removed, using split_outliers.