mstz commited on
Commit
2d1c894
1 Parent(s): aa9ee6e

Upload nbfi.py

Browse files
Files changed (1) hide show
  1. nbfi.py +5 -0
nbfi.py CHANGED
@@ -220,6 +220,11 @@ class NBFI(datasets.GeneratorBasedBuilder):
220
  data = data[~data.Application_Process_Hour.isna()]
221
  data = data[~data.Client_Permanent_Match_Tag.isna()]
222
  data = data[~data.Client_Contact_Work_Tag.isna()]
 
 
 
 
 
223
  data.columns = _BASE_FEATURE_NAMES
224
 
225
  data.iloc[:, "owns_a_car"] = data["owns_a_car"].apply(bool)
 
220
  data = data[~data.Application_Process_Hour.isna()]
221
  data = data[~data.Client_Permanent_Match_Tag.isna()]
222
  data = data[~data.Client_Contact_Work_Tag.isna()]
223
+
224
+ print(len(data.columns))
225
+ print(len(_BASE_FEATURE_NAMES))
226
+ for d, f in zip(data.columns, _BASE_FEATURE_NAMES):
227
+ print(d, f)
228
  data.columns = _BASE_FEATURE_NAMES
229
 
230
  data.iloc[:, "owns_a_car"] = data["owns_a_car"].apply(bool)