def qth_survival_time(q, survival_function):
    if survival_function.iloc[-1] > q:
        return np.inf
    v = (survival_function <= q).idxmax(0)
    return v
Update parent visits.
dataset/ETHPy150Open CamDavidsonPilon/lifelines/lifelines/utils/__init__.py/qth_survival_time--crossover with--dataset/ETHPy150Open zlorf/django-synchro/synchro/tests.py/update_visits