aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2018-02-16 09:44:13 +0100
committerTibor Frank <tifrank@cisco.com>2018-02-16 09:45:56 +0100
commita0918a2c7112621563f14ba06a7aee3eaa3ac711 (patch)
treed5332509ee3694a24070d9576a5c95c226472375 /resources/tools
parent2036f500644bf34aebfd3456278d0efd0b9ab79f (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.py4
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