From e7e59cc4ddd3d1f27ada141244adb7897ffba0ff Mon Sep 17 00:00:00 2001 From: Jonathan Rajotte Date: Sat, 24 Nov 2018 11:08:15 -0500 Subject: [PATCH] Fix: concat sort behaviour true -> True Signed-off-by: Jonathan Rajotte --- scripts/system-tests/generate-plots.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.34.1