My dataframe looks like:
X Y Val
10 10 17
10 30 28
10 40 35
10 50 15
20 10 17
20 30 18
20 40 33
20 50 15
40 10 37
40 30 29
40 40 49
40 50 40
I want to extract a interpolated "Val" for given "X" and "Y" even if they are not in the df.
For example: I can very easily get "Val" for X=10 and Y=50.
But, suppose I want X=15 and Y=15 which is not in dataframe? Is it possible to extract the same? Does Pandas have any such functionality?