Datasets:
Upload speeddating.py
Browse files- speeddating.py +2 -1
speeddating.py
CHANGED
@@ -284,8 +284,9 @@ class Speeddating(datasets.GeneratorBasedBuilder):
|
|
284 |
data = data[data.pref_o_sincere != "?"]
|
285 |
data = data[data.interests_correlate != "?"]
|
286 |
|
287 |
-
data.columns
|
288 |
print(data.head())
|
|
|
289 |
|
290 |
if config == "dating":
|
291 |
return data
|
|
|
284 |
data = data[data.pref_o_sincere != "?"]
|
285 |
data = data[data.interests_correlate != "?"]
|
286 |
|
287 |
+
print(data.columns)
|
288 |
print(data.head())
|
289 |
+
data.columns = _BASE_FEATURE_NAMES
|
290 |
|
291 |
if config == "dating":
|
292 |
return data
|