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

Rename LabelTimes.name to LabelTimes.label_name #126

Merged
merged 6 commits into from Apr 23, 2020
Merged

Conversation

frances-h
Copy link
Contributor

Change name attribute on LabelTimes to label_name to avoid TypeError when converting to a Dask dataframe

Resolves #125

@codecov
Copy link

codecov bot commented Apr 17, 2020

Codecov Report

Merging #126 into master will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master      #126   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           20        20           
  Lines          845       845           
=========================================
  Hits           845       845           
Impacted Files Coverage Δ
composeml/label_maker.py 100.00% <100.00%> (ø)
composeml/label_plots.py 100.00% <100.00%> (ø)
composeml/label_times.py 100.00% <100.00%> (ø)
composeml/tests/test_featuretools.py 100.00% <100.00%> (ø)
...seml/tests/test_label_transforms/test_threshold.py 100.00% <100.00%> (ø)

@rwedge
Copy link
Contributor

rwedge commented Apr 17, 2020

Since this is renaming a public attribute we should mention this as a breaking change in the changelog

kmax12
kmax12 previously approved these changes Apr 20, 2020
Copy link
Contributor

@kmax12 kmax12 left a comment

Choose a reason for hiding this comment

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

The API change is good with me. I'll leave it to @jeff-hernandez and @rwedge to make sure the code checks out

Copy link
Collaborator

@jeff-hernandez jeff-hernandez left a comment

Choose a reason for hiding this comment

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

The cell 16 in this notebook needs to be updated.

y = fm.pop(lt.name)

Otherwise, looks good to merge.

@frances-h frances-h merged commit 8a2c675 into master Apr 23, 2020
@frances-h frances-h deleted the rename-name branch April 23, 2020 13:49
@jeff-hernandez jeff-hernandez mentioned this pull request Apr 23, 2020
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.

LabelTimes name attribute incompatible with Dask
4 participants