invert_quantity

function of dascore.units source

invert_quantity(
    unit: pint.registry.Unit | str[Unit, str] ,
)-> ‘pint.Unit’

Invert a unit.