get derivative of interp1d code example Example: get derivative of interp1d fd1 = f._spline.derivative(nu=1)