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

Fix compatibility issues with Featuretools #41

Merged
merged 13 commits into from
Mar 9, 2022

Conversation

dvreed77
Copy link
Contributor

Fix compatibility issues with Featuretools

fixes #39

@dvreed77 dvreed77 assigned mingdavidqi and DavidQi and unassigned mingdavidqi Feb 18, 2022
@CLAassistant
Copy link

CLAassistant commented Feb 18, 2022

CLA assistant check
All committers have signed the CLA.

@gsheni gsheni assigned dvreed77 and unassigned DavidQi Feb 28, 2022
@dvreed77 dvreed77 marked this pull request as ready for review March 7, 2022 18:45
mingdavidqi
mingdavidqi previously approved these changes Mar 7, 2022
Copy link

@mingdavidqi mingdavidqi left a comment

Choose a reason for hiding this comment

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

Looks good to me

Copy link
Contributor

@thehomebrewnerd thehomebrewnerd left a comment

Choose a reason for hiding this comment

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

We don't have a release notes updated CI check in this repo, but we do have a release notes file, so it would be good to also update that with a comment before we merge.

@dvreed77 dvreed77 requested a review from thehomebrewnerd March 8, 2022 15:02
if time_index in current.df.columns:
entities[current.index[0]] = (current.df, current.index[0], time_index)
entities[current_df_name] = (current.df, current.index[0], time_index)
Copy link
Contributor

@thehomebrewnerd thehomebrewnerd Mar 8, 2022

Choose a reason for hiding this comment

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

As we have updated other libraries, we have moved away from using the entity/entities terminology in favor of dataframe/dataframes. If there are just a handful of places to update, maybe we should do that here now, but if there are a lot that need to be changed, we can create a new issue and work in it separately.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done! It wasn't too bad

@@ -143,7 +150,7 @@ def auto_normalize(df):

def normalize_entity(es, accuracy=0.98):
Copy link
Contributor

Choose a reason for hiding this comment

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

Not sure if we want to update this from normalize_entity to normalize_dataframe as well?

Copy link
Contributor Author

@dvreed77 dvreed77 Mar 9, 2022

Choose a reason for hiding this comment

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

I actually think it should be normalize_entityset, but I didn't want to change the public API

@dvreed77 dvreed77 requested a review from thehomebrewnerd March 9, 2022 14:40
* Changes
* Rename `normalize_entity` to `normalize_entityset` (:pr:`41`)
Copy link
Contributor

Choose a reason for hiding this comment

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

Since this is a breaking change to the API, we typically have been including a Breaking Change note in the release notes. Here is an example: https://github.com/alteryx/woodwork/blob/main/docs/source/release_notes.rst#breaking-changes

Copy link
Contributor

@thehomebrewnerd thehomebrewnerd left a comment

Choose a reason for hiding this comment

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

LGTM!

@dvreed77 dvreed77 merged commit f05cb9d into main Mar 9, 2022
@dvreed77 dvreed77 deleted the issue-39-fix-compatibility-with-featuretools branch March 9, 2022 19:56
This was referenced Mar 14, 2022
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.

AttributeError is raised when running autonormalize
5 participants