We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
代码里有这几行:
if not adj_all_var: bins2 = bins.loc[~((bins['bin'] == 'missing') & (bins['count_distr'] >= count_distr_limit))].reset_index( drop=True) bins2['badprob2'] = bins2.groupby('variable').apply(lambda x: x['badprob'].shift(1)).reset_index(drop=True) bins2 = bins2.dropna(subset=['badprob2']).reset_index(drop=True) bins2 = bins2.assign(badprob_trend=lambda x: x.badprob >= x.badprob2) xs_adj = bins2.groupby('variable')['badprob_trend'].nunique() xs_adj = xs_adj[xs_adj > 1].index
但是现在badprob2并没有 所以会报错
badprob2
The text was updated successfully, but these errors were encountered:
No branches or pull requests
代码里有这几行:
但是现在
badprob2
并没有 所以会报错The text was updated successfully, but these errors were encountered: