Skip to content

Commit

Permalink
Merge pull request #174 from dssg/fix-folktables-bug
Browse files Browse the repository at this point in the history
Change attribute call to sensitive_column
  • Loading branch information
reluzita authored Feb 20, 2024
2 parents 37bf697 + c8c80ff commit 3ca75c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aequitas/flow/datasets/folktables.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def load_data(self):
self.data[col] = (
self.data[col]
.replace(2, 0)
.astype("category" if col == self.sensitive_feature else bool)
.astype("category" if col == self.sensitive_column else bool)
)

if self.sensitive_column == "AGEP_bin":
Expand Down

0 comments on commit 3ca75c5

Please sign in to comment.