Does anyone know how to replace a value in a yield curve object for revaluing a bond (to get partial durations)? I suppose you could re-do all of these steps again, but it seems like there's a better way to just adjust it in place?
http://khandrikacm.blogspot.com/2014/03/usd-yield-curve-building-using-python.html