mstz commited on
Commit
0bf0679
1 Parent(s): 36fa175

Upload nbfi.py

Browse files
Files changed (1) hide show
  1. nbfi.py +4 -4
nbfi.py CHANGED
@@ -231,10 +231,10 @@ class NBFI(datasets.GeneratorBasedBuilder):
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
- data = data[~data.Age_Days.isin(("x"))]
235
- data = data[~data.Employed_Days.isin(["x"])]
236
- data = data[~data.Registration_Days.isin(["x"])]
237
- data = data[~data.ID_Days.isin(["x"])]
238
 
239
  data.columns = _BASE_FEATURE_NAMES
240
 
 
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
+ data = data[data.Age_Days != "x"]
235
+ data = data[data.Employed_Days != "x"]
236
+ data = data[data.Registration_Days != "x"]
237
+ data = data[data.ID_Days != "x"]
238
 
239
  data.columns = _BASE_FEATURE_NAMES
240