Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
我直接在var_filter.py的文件里改了。
这样就可以避免,‘’如果有布尔列或者含有布尔列的数据时,生成列表时会出错的情况。‘’
我也已经测试过了。missing的情况不影响呀。
因为我这里,只是仅仅在数据处理的开始,将对象型和布尔型数据,转换成字符串式的对象型数据。对于整体的函数运行应该没影响。
并且,对于离散型数据的分箱,标准数据类型应该就是字符串吧?~
希望谢老师有空看看哈~~~如果想法不对,希望谢老师能够指正。