Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added a helper function to utils called categorical_columns_to_list. #68

Merged
merged 9 commits into from
Jul 21, 2021

Conversation

jc-healy
Copy link
Collaborator

This function is handy for turning categorical data_frames into the list of list format that is consumed by the rest of our library.

This function is handy for turning categorical data_frames into the list of list format that is consumed by the rest of our library.
@codecov-commenter
Copy link

codecov-commenter commented Jul 13, 2021

Codecov Report

Merging #68 (90eae3f) into master (7d9c5ca) will increase coverage by 0.18%.
The diff coverage is 97.59%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #68      +/-   ##
==========================================
+ Coverage   89.33%   89.52%   +0.18%     
==========================================
  Files          19       19              
  Lines        3161     3237      +76     
  Branches      594      613      +19     
==========================================
+ Hits         2824     2898      +74     
- Misses        287      289       +2     
  Partials       50       50              
Impacted Files Coverage Δ
vectorizers/transformers.py 93.48% <94.59%> (+0.01%) ⬆️
vectorizers/tests/test_common.py 99.81% <100.00%> (+<0.01%) ⬆️
vectorizers/tests/test_transformers.py 100.00% <100.00%> (ø)
vectorizers/utils.py 75.12% <100.00%> (+0.76%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7d9c5ca...90eae3f. Read the comment docs.

John Healy and others added 4 commits July 13, 2021 15:48
A notebook to use as a basis for the multi-token cooccurrence vectorizer documentation.
…gorical column and then describing it as a bag of the values of a different set of categorical column values. I've also added unit tests.

I've applied black to file.  It seems to have changed the formatting of the transformer.py file. I don't think I have an incorrect version of black.  I'm hopeful that it's just that we haven't changed transformers.py in ages.
vectorizers/transformers.py Outdated Show resolved Hide resolved
vectorizers/transformers.py Outdated Show resolved Hide resolved
@jc-healy jc-healy requested a review from lmcinnes July 21, 2021 00:26
@lmcinnes lmcinnes merged commit 0e02cb9 into TutteInstitute:master Jul 21, 2021
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.

3 participants