with_unit

StringColumnView.with_unit(unit)

Returns a new column with a new unit,

Args:

unit (str): The new unit.