Datasets:
Upload adult.py
Browse files
adult.py
CHANGED
@@ -171,7 +171,7 @@ class Adult(datasets.GeneratorBasedBuilder):
|
|
171 |
data = data[["age", "capital_gain", "capital_loss", "education-num", "final_weight",
|
172 |
"hours_per_week", "marital_status", "native_country", "occupation",
|
173 |
"race", "relationship", "sex", "workclass", "threshold"]]
|
174 |
-
data.columns = _BASE_FEATURE_NAMES
|
175 |
|
176 |
match config:
|
177 |
case "income":
|
|
|
171 |
data = data[["age", "capital_gain", "capital_loss", "education-num", "final_weight",
|
172 |
"hours_per_week", "marital_status", "native_country", "occupation",
|
173 |
"race", "relationship", "sex", "workclass", "threshold"]]
|
174 |
+
data.columns = _BASE_FEATURE_NAMES
|
175 |
|
176 |
match config:
|
177 |
case "income":
|