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
您好!在学习sc包的过程中,遇到了问题。 sc.woebin的示例中数据集中加入了空值,使下述special_values 可以分箱。 special_values = { 'credit.amount': [2600, 9960, "6850%missing"] } 但是在数据集的'credit.amount'列数值没有空值的情况下,想要得到"6850%missing"的分箱,会出现报错: ValueError: cannot convert float NaN to integer (在sc的示例中加入了上述special_values ,出现了问题,遂查询了woebin的函数,woebin的示例没有问题,遂对比学习了一下) 虽然一般情况下不会有这样的分箱,但是出现了bug。
The text was updated successfully, but these errors were encountered:
我回头看看啊
Sorry, something went wrong.
No branches or pull requests
您好!在学习sc包的过程中,遇到了问题。
sc.woebin的示例中数据集中加入了空值,使下述special_values 可以分箱。
special_values = {
'credit.amount': [2600, 9960, "6850%missing"]
}
但是在数据集的'credit.amount'列数值没有空值的情况下,想要得到"6850%missing"的分箱,会出现报错:
ValueError: cannot convert float NaN to integer
(在sc的示例中加入了上述special_values ,出现了问题,遂查询了woebin的函数,woebin的示例没有问题,遂对比学习了一下)
虽然一般情况下不会有这样的分箱,但是出现了bug。
The text was updated successfully, but these errors were encountered: