Use sort=true for panda concat
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Fri, 23 Nov 2018 22:26:54 +0000 (17:26 -0500)
committerJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Fri, 23 Nov 2018 22:26:54 +0000 (17:26 -0500)
    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 <jonathan.rajotte-julien@efficios.com>
scripts/system-tests/generate-plots.py

index efc987734e95e808db75c88f570dce127c0d1ca8..d10a167f0166f29799f1164ccc55d2a9c93c8633 100644 (file)
@@ -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)
This page took 0.026739 seconds and 4 git commands to generate.