Enabled loading of name info into an in-memory dictionary to speed up name info retrieval#2
Open
mikeengland wants to merge 3 commits intomalev:masterfrom
Open
Enabled loading of name info into an in-memory dictionary to speed up name info retrieval#2mikeengland wants to merge 3 commits intomalev:masterfrom
mikeengland wants to merge 3 commits intomalev:masterfrom
Conversation
… name info retrieval - Altered code to enable loading of name info into an in-memory dictionary to speed up name info retrieval - Altered __init__.py to ensure it would work with Python 2 and Python 3 - Added tests for all data sets - Added code to enable the processing of names that contain special characters (previously there were issues loading them if you were using Python 3)
Author
|
It is a very useful module when trying to find out the gender of a person in a data set without this information already! Thanks! |
Removed index.py as it is not needed if name dataset is loaded into a dict
Author
|
Remove index.py and leftover index.py tests and imports as they are not needed after the initial pull request. |
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.
dictionary to speed up name info retrieval (needed if using it with an apply function in Pandas on a data set with tens of thousands of rows).
characters (previously there were issues loading them if you were using
Python 3)