Datasets:
Upload nbfi.py
Browse files
nbfi.py
CHANGED
@@ -235,5 +235,7 @@ class NBFI(datasets.GeneratorBasedBuilder):
|
|
235 |
data["same_residence_and_home"] = data["same_residence_and_home"].apply(bool)
|
236 |
data["same_work_and_home"] = data["same_work_and_home"].apply(bool)
|
237 |
|
|
|
|
|
238 |
return data[list(features_types_per_config[config].keys())]
|
239 |
|
|
|
235 |
data["same_residence_and_home"] = data["same_residence_and_home"].apply(bool)
|
236 |
data["same_work_and_home"] = data["same_work_and_home"].apply(bool)
|
237 |
|
238 |
+
print(data.head())
|
239 |
+
|
240 |
return data[list(features_types_per_config[config].keys())]
|
241 |
|