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

[FEA] Add a feature to remove Tags from a column in schema #115

Open
rvk007 opened this issue Aug 15, 2022 · 1 comment
Open

[FEA] Add a feature to remove Tags from a column in schema #115

rvk007 opened this issue Aug 15, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@rvk007
Copy link

rvk007 commented Aug 15, 2022

When we perform Categorify on a Target column, Tags.CATEGORICAL is added to the schem. For an internal project we need to remove this tag and we currently don't have a functionality for this.

We can create the below functionality which updates the schema:

schema[column_name].remove_tag(tag=[Tags.TAG_NAME])

@karlhigley karlhigley assigned rnyak and unassigned rnyak Aug 15, 2022
@karlhigley karlhigley added the enhancement New feature or request label Aug 15, 2022
@karlhigley
Copy link
Contributor

karlhigley commented Aug 19, 2022

If the column is truly no longer categorical, then one option here is tag to the column with Tags.CONTINUOUS (which will remove Tags.CATEGORICAL since no column can be both.)

Is the column subsequently processed by another operator that makes it non-categorical? Is it more that you want to exclude particular columns when selecting by tag?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants