Skip to content

Remove uint8 casting for encode_features boolean columns - #1082

Merged
tamargrey merged 3 commits into
mainfrom
feature-boolean-dtype
Jul 23, 2020
Merged

tamargrey merged 3 commits into
mainfrom
feature-boolean-dtype

Conversation

@tamargrey

Copy link
Copy Markdown
Contributor

The boolean columns produced by encode_features used dtype uint8, while dfs and calculate_feature_matrix use True/False bools. We're switching encode_features to bools as well for consistency.


After creating the pull request: in order to pass the changelog_updated check you will need to update the "Future Release" section of docs/source/changelog.rst to include this pull request.

@tamargrey
tamargrey requested a review from rwedge July 22, 2020 21:44
@CLAassistant

CLAassistant commented Jul 22, 2020 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@codecov

codecov Bot commented Jul 22, 2020 •

Copy link
Copy Markdown

Codecov Report

Merging #1082 into main will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1082      +/-   ##
==========================================
+ Coverage   98.34%   98.36%   +0.01%     
==========================================
  Files         126      126              
  Lines       13123    13132       +9     
==========================================
+ Hits        12906    12917      +11     
+ Misses        217      215       -2     
Impacted Files Coverage Δ
featuretools/synthesis/encode_features.py 98.57% <100.00%> (ø)
...aturetools/tests/synthesis/test_encode_features.py 100.00% <100.00%> (ø)
featuretools/synthesis/deep_feature_synthesis.py 97.83% <0.00%> (+0.48%) ⬆️

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 be08f88...020ba69. Read the comment docs.

@rwedge rwedge left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Be sure to update the changelog and add yourself to the list of contributors!

@tamargrey
tamargrey force-pushed the feature-boolean-dtype branch from f149e72 to dab4812 Compare July 23, 2020 14:03
Comment thread docs/source/changelog.rst Resolved
@tamargrey
tamargrey force-pushed the feature-boolean-dtype branch from dab4812 to 020ba69 Compare July 23, 2020 14:22

@rwedge rwedge left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@tamargrey
tamargrey merged commit e59af1f into main Jul 23, 2020
@rwedge rwedge mentioned this pull request Jul 31, 2020
@rwedge
rwedge deleted the feature-boolean-dtype branch February 19, 2021 22:47
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