woodwork.data_table.DataTable.add_semantic_tags

DataTable.add_semantic_tags(semantic_tags)[source]

Adds specified semantic tags to columns. Will retain any previously set values. Replaces updated columns with new DataColumn objects and returns a new DataTable object.

Parameters

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

Returns

DataTable with semantic tags added

Return type

woodwork.DataTable