woodwork.table_schema.TableSchema.reset_semantic_tags#
- TableSchema.reset_semantic_tags(columns=None, retain_index_tags=False)[source]#
Reset the semantic tags for the specified columns to the default values. The default values will be either an empty set or a set of the standard tags based on the column logical type, controlled by the use_standard_tags property on the table. Column names can be provided as a single string, a list of strings or a set of strings. If columns is not specified, tags will be reset for all columns.
- Parameters:
columns (str/list/set, optional) – The columns for which the semantic tags should be reset.
retain_index_tags (bool, optional) – If True, will retain any index or time_index semantic tags set on the column. If False, will clear all semantic tags. Defaults to False.