extract_unit

caqtus.analysis.units.extract_unit(
series: Series,
) tuple[Series, Unit | None]