Update var_filter.py#20
Open
sunrisehang wants to merge 1 commit intoShichenXie:masterfrom
sunrisehang:master
Open
Update var_filter.py#20sunrisehang wants to merge 1 commit intoShichenXie:masterfrom sunrisehang:master
sunrisehang wants to merge 1 commit intoShichenXie:masterfrom
sunrisehang:master
Conversation
我直接在var_filter.py的文件里改了。 这样就可以避免,‘’如果有布尔列或者含有布尔列的数据时,生成列表时会出错的情况。‘’ 我也已经测试过了。missing的情况不影响呀。 ~~~因为我这里,只是仅仅在数据处理的开始,将对象型和布尔型数据,转换成字符串式的对象型数据。对于整体的函数运行应该没影响。 ~~~并且,对于离散型数据的分箱,标准数据类型应该就是字符串吧?~ 希望谢老师有空看看哈~~~如果想法不对,希望谢老师能够指正。
Owner
|
如果别人不用var_filter呢 |
Contributor
Author
|
啊啊啊,怪不得谢老师,在每个函数的源码里,都有condition_fun.py文件中的那几个数据清洗的函数,领略到了~~~。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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的情况不影响呀。
因为我这里,只是仅仅在数据处理的开始,将对象型和布尔型数据,转换成字符串式的对象型数据。对于整体的函数运行应该没影响。
并且,对于离散型数据的分箱,标准数据类型应该就是字符串吧?~
希望谢老师有空看看哈~~~如果想法不对,希望谢老师能够指正。