def get_age_delta(date_: pd.Series, dob: pd.Series) -> pd.Series: return date_.__sub__(dob)
def get_age_float(date_: pd.Series, dob: pd.Series) -> pd.Series: ds = date_.__sub__(dob) return ds.apply(lambda x: float(x.days / 365.25))