get_unit

function of dascore.units source

get_unit(
    value ,
)-> ‘Unit’

Convert a value to a pint unit.

Usually quantities, generated with get_quantity, are easy to work with.