diff options
author | Tibor Frank <tifrank@cisco.com> | 2018-02-16 09:44:13 +0100 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2018-02-16 09:45:56 +0100 |
commit | a0918a2c7112621563f14ba06a7aee3eaa3ac711 (patch) | |
tree | d5332509ee3694a24070d9576a5c95c226472375 /resources/tools | |
parent | 2036f500644bf34aebfd3456278d0efd0b9ab79f (diff) |
CSIT-932: Remove outliers form statistical calculations
Change-Id: I95934c92b2ebc77e5e3e7696d318ee8416f848e9
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools')
-rw-r--r-- | resources/tools/presentation/utils.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/resources/tools/presentation/utils.py b/resources/tools/presentation/utils.py index 7037404c27..a56ee3e105 100644 --- a/resources/tools/presentation/utils.py +++ b/resources/tools/presentation/utils.py @@ -82,6 +82,10 @@ def remove_outliers(input_data, outlier_const): for y in data.tolist(): if quartile_set[0] <= y <= quartile_set[1]: result_lst.append(y) + print(quartile_set) + print(input_data) + print(result_lst) + print("") return result_lst |