mstz commited on
Commit
33e2087
·
1 Parent(s): 7e55847

Upload adult.py

Browse files
Files changed (1) hide show
  1. adult.py +1 -1
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[1:]
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":