Skip to content

modified to use the missing_values argument value in the output#70

Closed
kwombach wants to merge 1 commit intoJ535D165:masterfrom
kwombach:master
Closed

modified to use the missing_values argument value in the output#70
kwombach wants to merge 1 commit intoJ535D165:masterfrom
kwombach:master

Conversation

@kwombach
Copy link
Copy Markdown

@kwombach kwombach commented Oct 9, 2018

This is a very minor change that I made for my purposes. When performing string comparisons, if a missing_values argument is provided in addition to the threshold argument, the missing_values value will not appear in the output because the threshold code returns True or False (is then converted to 0.0 and 1.0). I believe this is a mistake because it make it impossible to delineate between pairs that did not match and pairs that contained a missing value.

Hope this helps!
Kai Wombacher

@J535D165
Copy link
Copy Markdown
Owner

Thanks a lot for sharing this issue! This is definitively a bug.

I'm not completely convinced that the code you propose here is the solution. Are you interested in writing a unit test?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants