Relative Content

Tag Archive for numpyinterpolation

Extract the x value corresponding to a given y

Given some data I have in a daraframe, I am trying to extract the x value for a given y value (where y is not necessarily present in the data), using np.interp as I have seen in many other posts (and as I used to do in MATLAB). The problem is that I am not able to make it work.