More solid pandas call so we don't get an error

Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
Matthew Stidham
2021-11-15 10:10:58 -08:00
parent e5e3c90336
commit d549bfccdc

View File

@@ -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