Datasets:
Update speeddating.py
Browse files- speeddating.py +0 -3
speeddating.py
CHANGED
@@ -310,9 +310,6 @@ class Speeddating(datasets.GeneratorBasedBuilder):
|
|
310 |
data = data[data.guess_prob_liked != "?"]
|
311 |
data = data[data.met != "?"]
|
312 |
|
313 |
-
for i, (c1, c2) in enumerate(zip(data.columns, _BASE_FEATURE_NAMES)):
|
314 |
-
print(i, c1 == c2, c1, c2)
|
315 |
-
print(list(data.columns))
|
316 |
data.columns = _BASE_FEATURE_NAMES
|
317 |
data = data.astype({"is_dater_male": "bool", "are_same_race": "bool", "already_met_before": "bool",
|
318 |
"dater_wants_to_date": "bool", "dated_wants_to_date": "bool"})
|
|
|
310 |
data = data[data.guess_prob_liked != "?"]
|
311 |
data = data[data.met != "?"]
|
312 |
|
|
|
|
|
|
|
313 |
data.columns = _BASE_FEATURE_NAMES
|
314 |
data = data.astype({"is_dater_male": "bool", "are_same_race": "bool", "already_met_before": "bool",
|
315 |
"dater_wants_to_date": "bool", "dated_wants_to_date": "bool"})
|