woodwork.table_accessor.WoodworkTableAccessor.select

WoodworkTableAccessor.select(include)[source]

Create a DataFrame with Woodwork typing information initialized that includes only columns whose Logical Type and semantic tags are specified in the list of types and tags to include.

If no matching columns are found, an empty DataFrame will be returned.

Parameters

include (str or LogicalType or list[str or LogicalType]) – Logical types, semantic tags to include in the DataFrame.

Returns

The subset of the original DataFrame that contains just the logical types and semantic tags in include. Has Woodwork typing information initialized.

Return type

DataFrame