woodwork.schema.Schema.rename

Schema.rename(columns)[source]

Renames columns in a Schema

Parameters

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

Returns

Schema with the specified columns renamed.

Return type

woodwork.Schema