def zero_coupon_spot_rate(self, par, price, T):
        spot_rate = math.log(par/price)/T
        return spot_rate
Identify the indices of the inputs time series that are associated with each element of the average time series.
dataset/ETHPy150Open jamesmawm/Mastering-Python-for-Finance-source-codes/B03898_05_Codes/BootstrapYieldCurve.py/BootstrapYieldCurve.zero_coupon_spot_rate--crossover with--dataset/ETHPy150Open brandonckelly/bck_stats/bck_stats/dba.py/DBA.associate_segments