I\'m trying to do a 2d interpolation, for that I need to create a 2d array from a function I have but I get this error: ValueError: The truth value of an array with more tha