created a more user-friendly error message when bad data is found #56
Open
ParticularMiner wants to merge 13 commits intoBergvca:masterfrom
Open
created a more user-friendly error message when bad data is found #56ParticularMiner wants to merge 13 commits intoBergvca:masterfrom
ParticularMiner wants to merge 13 commits intoBergvca:masterfrom
Conversation
Conflicts (resolved): string_grouper/string_grouper.py
f2d3a6c to
82e3145
Compare
82e3145 to
faa974c
Compare
5515f9c to
0bc533f
Compare
Contributor
Author
|
Hi @Bergvca Just noticed you merged the other PR. If you intend to merge the next two, perhaps it would be best to start with this one as it has fewer changes than the other. :) |
Owner
|
ok thanks, will do :) |
Conflicts (now resolved): README.md string_grouper/string_grouper.py string_grouper/test/test_string_grouper.py
b6180ae to
539757d
Compare
539757d to
859aa4b
Compare
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.
Notify: @Bergvca
Here I suggest a solution to one user's problem (see #43 (comment)). It was a bit more difficult to implement than I thought. :)
Create a Series with a few random strings:
Generate another Series of strings with some bad (non-string or empty string) values:
Notice the error message after the traceback log:
Similar functionality exists for the other high-level functions:
group_similar_strings(),match_most_similar()andmatch_strings()