with_unit

FloatColumn.with_unit(unit: str)

Returns a new column with a new unit.

Args:

unit (str): The new unit.