Datasets:
Upload nbfi.py
Browse files
nbfi.py
CHANGED
@@ -230,7 +230,7 @@ class NBFI(datasets.GeneratorBasedBuilder):
|
|
230 |
data = data[~data.Client_Occupation.isna()]
|
231 |
data = data[~data.Client_Family_Members.isna()]
|
232 |
data = data[~data.Social_Circle_Default.isna()]
|
233 |
-
data = data[
|
234 |
|
235 |
data.columns = _BASE_FEATURE_NAMES
|
236 |
|
|
|
230 |
data = data[~data.Client_Occupation.isna()]
|
231 |
data = data[~data.Client_Family_Members.isna()]
|
232 |
data = data[~data.Social_Circle_Default.isna()]
|
233 |
+
data = data[~data.Population_Region_Relative.isin(("@", "#"))]
|
234 |
|
235 |
data.columns = _BASE_FEATURE_NAMES
|
236 |
|