I am really new in Python, hence I am asking a simple question:
I have a sets of data (x1, x2, x3, x4, x5) and corresponding (y1, y2, y3, y4, y5). Now, how can I use Python to find a y value for a given x value? (x lies in between x1 to x5)
As an example: Let say, I want to find a value of Y for X = 0.9 for the following sets of data.
X Y
0.5 12
1.2 17
1.3 23
1.6 29
2.1 33
Thanks in advance!!