From d549bfccdc2a0435c0a1e78750ba60f0e4c4c618 Mon Sep 17 00:00:00 2001 From: Matthew Stidham Date: Mon, 15 Nov 2021 10:10:58 -0800 Subject: [PATCH] More solid pandas call so we don't get an error Signed-off-by: Matthew Stidham --- py-json/l3_cxprofile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py-json/l3_cxprofile.py b/py-json/l3_cxprofile.py index 20687b67..aab3a743 100644 --- a/py-json/l3_cxprofile.py +++ b/py-json/l3_cxprofile.py @@ -342,7 +342,7 @@ class L3CXProfile(LFCliBase): timestamp_data.append(timestamp_df) time.sleep(monitor_interval_ms) df = pd.concat(timestamp_data) - df = df.drop('alias', 1) + df = df.drop('alias', axis=1) df.to_csv(str(report_file), index=False) # comparison to last report / report inputted