I am trying to implement PchipInterpolator based on the link:
http://docs.scipy.org/doc/scipy-0.14.0/reference/generated/scipy.interpolate.PchipInterpolator.html
The code I am using is:
x = np.arange(0, 10)
y = np.exp(-x/3.0)
set_interp = scipy.interpolate.PchipInterpolator( x, y, extrapolate=True )
I get the error as:
TypeError: __init__() got an unexpected keyword argument 'extrapolate'
So, obviously I am implementing it the wrong way. I have tried numerous other ways to implement extrapolate but it fails.