I have two arrays :
array_x = [x1, x2, x3, x4... xn]
array_y = [y1, y2, y3, y4... yn]
I would like to have a function f(array_x, array_y, value_x) that returns the value_y associated to the value_x by interpolation into the arrays.
How to do that ?
array_ythat is in the position corresponding to wherevalue_xis inarray_x?numpy.interpuses.