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