assert_dtype_compatible_with_units
assert_dtype_compatible_with_units(
dtype ,
quantity ,
)-> ‘Quantity’
Return quantity if it is compatible with dtype.
If not raise UnitError.
function of dascore.units | source |
assert_dtype_compatible_with_units(
dtype ,
quantity ,
)-> ‘Quantity’
Return quantity if it is compatible with dtype.
If not raise UnitError.