code: def derivativeX(self,x,y):
          '''
          Evaluates the partial derivative of interpolated function with respect
          to x (the first argument) at the given input.
  
          Parameters
          ----------
          x : np.array or float
              Real values to be evaluated in the interpolated function.
          y : np.array or float
              Real values to be evaluated in the interpolated function; must be
              the same size as x.
  
          Returns
          -------
          dfdx : np.array or float
              The derivative of the interpolated function with respect to x, eval-
              uated at x,y: dfdx = f_x(x,y), with the same shape as x and y.
          '''
          xa = np.asarray(x)
          ya = np.asarray(y)
          return (self._derX(xa.flatten(),ya.flatten())).reshape(xa.shapef derivativeX(self,x,y):
          '''
          Evaluates the partial derivative of interpolated function with respect
          to x (the first argument) at the given input.
  
          Parameters
          ----------
          x : np.array or float
              Real values to be evaluated in the interpolated function.
          y : np.array or float
              Real values to be evaluated in the interpolated function; must be
              the same size as x.
  
          Returns
          -------
          dfdx : np.array or float
              The derivative of the interpolated function with respect to x, eval-
              uated at x,y: dfdx = f_x(x,y), with the same shape as x and y.
          '''
          xa = np.asarray(x)
          ya = np.asarray(y)
          return (self._derX(xa.flatten(),ya.flatten())).reshape(xa.shape)
docs: Evaluates the partial derivative of interpolated function with respect
          to x (the first argument) at the given input.
  
          Parameters
          ----------
          x : np.array or float
              Real values to be evaluated in the interpolated function.
          y : np.array or float
              Real values to be evaluated in the interpolated function; must be
              the same size as x.
  
          Returns
          -------
          dfdx : np.array or float
              The derivative of the interpolated function with respect to x, eval-
              uated at x,y: dfdx = f_x(x,y), with the same shape as x and y.