From: Jonathan Rajotte Date: Sat, 24 Nov 2018 16:08:15 +0000 (-0500) Subject: Fix: concat sort behaviour X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=e7e59cc4ddd3d1f27ada141244adb7897ffba0ff;p=lttng-ci.git Fix: concat sort behaviour true -> True Signed-off-by: Jonathan Rajotte --- diff --git a/scripts/system-tests/generate-plots.py b/scripts/system-tests/generate-plots.py index d10a167..5bab68d 100644 --- a/scripts/system-tests/generate-plots.py +++ b/scripts/system-tests/generate-plots.py @@ -130,7 +130,7 @@ def create_metadata_file(res_dir): continue list_.append(metadata) - df = pd.concat(list_) + df = pd.concat(list_, sort=True) df.index=df.build_id df.sort_index(inplace=True) df.to_csv('metadata.csv', index=False) @@ -160,7 +160,7 @@ def create_plots(res_dir): tmp['testcase'] = res.split('.')[0] list_.append(tmp) - df = pd.concat(list_, sort=true) + df = pd.concat(list_, sort=True) df = convert_us_to_ns(df) df = rename_cols(df) df.sort_index(inplace=True)