Datasets:
Upload nbfi.py
Browse files
nbfi.py
CHANGED
@@ -251,8 +251,8 @@ class NBFI(datasets.GeneratorBasedBuilder):
|
|
251 |
"is_male": "bool",
|
252 |
"nr_children": "int8"
|
253 |
})
|
254 |
-
|
255 |
-
print(data.
|
256 |
print([f for f in data.columns if "M" in data[f]])
|
257 |
|
258 |
return data[list(features_types_per_config[config].keys())]
|
|
|
251 |
"is_male": "bool",
|
252 |
"nr_children": "int8"
|
253 |
})
|
254 |
+
|
255 |
+
print("[f for f in data.columns if 'M' in data[f]]")
|
256 |
print([f for f in data.columns if "M" in data[f]])
|
257 |
|
258 |
return data[list(features_types_per_config[config].keys())]
|