woodwork.table_schema.TableSchema.get_subset_schema

TableSchema.get_subset_schema(subset_cols)[source]

Creates a new TableSchema with specified columns, retaining typing information.

Parameters

subset_cols (list[str]) – subset of columns from which to create the new TableSchema

Returns

New TableSchema with attributes from original TableSchema

Return type

TableSchema