woodwork.table_schema.TableSchema.rename

TableSchema.rename(columns)[source]

Renames columns in a TableSchema

Parameters

columns (dict[str -> str]) – A dictionary mapping current column names to new column names.

Returns

TableSchema with the specified columns renamed.

Return type

woodwork.TableSchema