How to deal with this woe graph?
1 answers ( 0 marked as helpful)
I've tried doing this, and I'm successful in combining the two. But is it allowed in case of continuous or discrete coarse mapping?
X_train_pre['empexp:0'] = sum([np.where((X_train_pre['emp_length_int'] == 0.0), 1, 0),
np.where((X_train_pre['emp_length_int'] == '0'), 1, 0)])