Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Commit

Permalink
Drop meaningless "level" columns from the correct dataframe.
Browse files Browse the repository at this point in the history
(Does not affect performance)

PiperOrigin-RevId: 313763435
Change-Id: I8973213e969be65a0a59ca73b07a1b8a628751a2
  • Loading branch information
iosband authored and copybara-github committed May 29, 2020
1 parent 933e386 commit 876be3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bsuite/experiments/summary_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def bsuite_score(df: pd.DataFrame,
# Groupby has a habit of adding meaningless columns to dataframe.
for col in df.columns:
if col in ['level_0', 'level_1', 'level_2']:
df.drop(col, axis=1, inplace=True)
score_df.drop(col, axis=1, inplace=True)
return score_df


Expand Down

0 comments on commit 876be3a

Please sign in to comment.