def interp2d(x,xp,yp):
    yp = np.asarray(yp)
    assert yp.ndim == 2
    return np.array([np.interp(x,xp,col) for col in yp.T]).T
Same as np.interp, but yp is 2d
dataset/ETHPy150Open rll/lfd/lfd/rapprentice/math_utils.py/interp2d