with_unit

FloatColumn.with_unit(unit)

Returns a new column with a new unit.

Args:

unit (str): The new unit.