with_unit

StringColumnView.with_unit(unit: str)

Returns a new column with a new unit,

Args:

unit (str): The new unit.