diff options
author | Tibor Frank <tifrank@cisco.com> | 2018-04-24 07:28:44 +0200 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2018-04-24 07:28:44 +0200 |
commit | 79e508504fcd6b5b677e567eb09092c5e0821790 (patch) | |
tree | b02ac7500cf9c696cc0955573eb0796bf031493d /resources/tools/presentation/utils.py | |
parent | 52f64f232293130904d54a62609eaffc1b145608 (diff) |
CSIT-1041: Trending dashboard
Change-Id: Ida3dfcc4a7ae21424e7f6b6db597a80bc633b9da
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/presentation/utils.py')
-rw-r--r-- | resources/tools/presentation/utils.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/resources/tools/presentation/utils.py b/resources/tools/presentation/utils.py index a15742a21f..4277aa0334 100644 --- a/resources/tools/presentation/utils.py +++ b/resources/tools/presentation/utils.py @@ -92,16 +92,6 @@ def remove_outliers(input_list, outlier_const=1.5, window=14): result_lst.append(y) return result_lst - # input_series = pd.Series() - # for index, value in enumerate(input_list): - # item_pd = pd.Series([value, ], index=[index, ]) - # input_series.append(item_pd) - # output_series, _ = split_outliers(input_series, outlier_const=outlier_const, - # window=window) - # output_list = [y for x, y in output_series.items() if not np.isnan(y)] - # - # return output_list - def split_outliers(input_series, outlier_const=1.5, window=14): """Go through the input data and generate two pandas series: |