featuretools icon indicating copy to clipboard operation
featuretools copied to clipboard

1272: Remove allowed types

Open Kryvonis opened this issue 2 years ago • 4 comments

Pull Request Description

leave only pd.Series as a valid input type for instance_vals in Entityset.


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

Kryvonis avatar Sep 22 '22 18:09 Kryvonis

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Sep 22 '22 18:09 CLAassistant

@Kryvonis thank you for putting up this pull request. I'm curious, why would it be beneficial to support less types?

gsheni avatar Sep 22 '22 18:09 gsheni

@Kryvonis thank you for putting up this pull request. I'm curious, why would it be beneficial to support less types?

@gsheni See this issue for context: https://github.com/alteryx/featuretools/issues/1272

thehomebrewnerd avatar Sep 22 '22 19:09 thehomebrewnerd

@Kryvonis in order for the CLA bot to work correctly it needs the author email on the commits to match an email linked with your github account

rwedge avatar Sep 22 '22 20:09 rwedge

@rwedge Sorry, my fault. I didn't know about that rule. I tried to amend email but Git add new commits. Do I need to remove previous commits?

Kryvonis avatar Sep 25 '22 15:09 Kryvonis

@Kryvonis You can also create a new branch off Featuretools main, copy the changes from here, and put up a new pull request in a new branch. Be sure to use the same author email on the commits as your GitHub account.

gsheni avatar Sep 27 '22 19:09 gsheni

I think I already fixed author commits but I don't know is there ok that some tests are failed

Kryvonis avatar Sep 28 '22 09:09 Kryvonis

@Kryvonis You need to sign the CLA: https://cla-assistant.io/alteryx/featuretools?pullRequest=2301

gsheni avatar Sep 28 '22 14:09 gsheni

Hi Kryvonis, thanks for doing this!

I believe one of the reasons the tests are failing is that the query_by_values method is being called with Dask or PySpark series arguments for the instance_vals parameter. Also, I believe the lines 1874 and 1877 in _vals_to_series are doing necessary logic. One way to handle this would be to keep the _vals_to_series method. We could stop handling the single value case and dataframe case and keep the other cases.

@thehomebrewnerd @rwedge @gsheni Feel free to change this if I am misunderstanding something!

sbadithe avatar Sep 28 '22 23:09 sbadithe