Skip to content

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
mikeengland:master
Open

Enabled loading of name info into an in-memory dictionary to speed up name info retrieval#2
mikeengland wants to merge 3 commits intomalev:masterfrom
mikeengland:master

Conversation

@mikeengland
Copy link
Copy Markdown

  • Altered code to enable loading of name info into an in-memory
    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).
  • 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)

… 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)
@mikeengland
Copy link
Copy Markdown
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
@mikeengland
Copy link
Copy Markdown
Author

Remove index.py and leftover index.py tests and imports as they are not needed after the initial pull request.

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.

1 participant