core icon indicating copy to clipboard operation
core copied to clipboard

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

Open rvk007 opened this issue 2 years ago • 1 comments

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])

rvk007 avatar Aug 15 '22 17:08 rvk007

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?

karlhigley avatar Aug 19 '22 15:08 karlhigley