woodwork.data_table.DataTable.select_semantic_tags

DataTable.select_semantic_tags(include)[source]

Create a DataTable that includes only columns that have at least one of the semantic tags specified here. The new DataTable with retain any logical types or semantic tags from the original DataTable.

Parameters

include (str or list[str] or set[str]) – Semantic tags to include in the DataTable.

Returns

The subset of the original DataTable that contains just the semantic tags in include.

Return type

DataTable