Skip to content

Commit

Permalink
Merge pull request #455 from VeriFIT/fix-deprecation-warning
Browse files Browse the repository at this point in the history
Replace deprecated `DataFrame.applymap()` with `Data Frame.map()` #patch
  • Loading branch information
Adda0 authored Nov 6, 2024
2 parents eabb866 + 90ce8f2 commit 039ff63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests-integration/scripts/compare_profiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def transform(cell):
timeouts = {
col: df[col].value_counts().get('TO', 0) for col in df.columns if col.endswith('runtime')
}
df = df.applymap(transform).drop(columns=['name'])
df = df.map(transform).drop(columns=['name'])
avgs = df.mean(numeric_only=True, skipna=True)
meds = df.median(numeric_only=True, skipna=True)
return avgs, meds, timeouts
Expand Down

0 comments on commit 039ff63

Please sign in to comment.