get_unit

function of dascore.units source

get_unit(
    value ,
)-> ‘Unit’

Convert a value to a pint unit.