woodwork.column_accessor.WoodworkColumnAccessor.set_logical_type#
- WoodworkColumnAccessor.set_logical_type(logical_type)[source]#
Update the logical type for the series, clearing any previously set semantic tags, and returning a new series with Woodwork initialied.
- Parameters:
logical_type (LogicalType, str) – The new logical type to set for the series.
- Returns:
A new series with the updated logical type.
- Return type:
Series