From: Jonathan Rajotte Date: Fri, 23 Nov 2018 22:26:54 +0000 (-0500) Subject: Use sort=true for panda concat X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=60e60b9288f19192a484d3bec99b82cd750ab040;p=lttng-ci.git 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 --- 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)