Eda, Exploratory Data Analysis, Pandas, Python.
events d['WoE'] = np.log(d['% of Events']/d['% of Non-Events']) d['IV'] = d['WoE'] * (d['% of Events'] - d['% of Non-Events']) d.insert(loc=0, column='Variable', value=ivars) print("Information value of " + ivars + " is " + str(round(d['IV'].sum(),6))) temp =pd.DataFrame({"Variable" : [ivars], "IV"