Skip to content

Commit

Permalink
Update deprecated Pandas append operation for log analysis (#699)
Browse files Browse the repository at this point in the history
Removed append operation, deprecated by Pandas.
  • Loading branch information
kjaisingh committed Jul 29, 2024
1 parent 7e7f2f7 commit ce91122
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/cromwell/analyze_monitoring_logs2.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def estimate_costs_per_group(data):
group_data['DynCost'] = sum(
(group_data['DynCPUCost'], group_data['DynMemCost'], group_data['DynDiskCost']))

data_grouped = data_grouped.append(group_data, ignore_index=True)
data_grouped = pd.concat([data_grouped, pd.DataFrame([group_data])], ignore_index=True)

data_grouped.sort_values(by='TotCost', inplace=True, ascending=False)
return data_grouped
Expand Down

0 comments on commit ce91122

Please sign in to comment.