From 60e60b9288f19192a484d3bec99b82cd750ab040 Mon Sep 17 00:00:00 2001 From: Jonathan Rajotte Date: Fri, 23 Nov 2018 17:26:54 -0500 Subject: [PATCH] Use sort=true for panda concat FutureWarning: Sorting because non-concatenation axis is not aligned. A future version of pandas will change to not sort by default. To accept the future behavior, pass 'sort=False'. To retain the current behavior and silence the warning, pass 'sort=True'. Signed-off-by: Jonathan Rajotte --- scripts/system-tests/generate-plots.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/system-tests/generate-plots.py b/scripts/system-tests/generate-plots.py index efc9877..d10a167 100644 --- a/scripts/system-tests/generate-plots.py +++ b/scripts/system-tests/generate-plots.py @@ -160,7 +160,7 @@ def create_plots(res_dir): tmp['testcase'] = res.split('.')[0] list_.append(tmp) - df = pd.concat(list_) + df = pd.concat(list_, sort=true) df = convert_us_to_ns(df) df = rename_cols(df) df.sort_index(inplace=True) -- 2.34.1