woodwork.table_schema.TableSchema.add_semantic_tags

TableSchema.add_semantic_tags(semantic_tags)[source]

Adds specified semantic tags to columns, updating the Woodwork typing information. Will retain any previously set values.

Parameters

semantic_tags (dict[str -> str/list/set]) – A dictionary mapping the columns in the DataFrame to the tags that should be added to the column’s semantic tags