NumPy · Function
np.interp
numpy.interp calculates one-dimensional piecewise linear values from sample points. It supports endpoint defaults, custom outside-range values, and periodic coordinates.
Last updated
Syntax
numpy.interp(x, xp, fp, left=None, right=None, period=None)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
scipy.interpolate