code: def validate_window_func(name, args, kwargs):
      numpy_args = ("axis", "dtype", "out")
      msg = (
          "numpy operations are not "
          "valid with window objects. "
          "Use .{func}() directly instead ".format(func=name)
      )
  
      if len(args) > 0:
          raise UnsupportedFunctionCall(msg)
  
      for arg in numpy_args:
          if arg in kwargs:
              raise UnsupportedFunctionCall(msg)
  
imports: from numpy import ndarray
  from pandas.compat import OrderedDict
  from pandas.errors import UnsupportedFunctionCall
  from pandas.util._validators import validate_args, validate_args_and_kwargs, validate_kwargs
  from pandas.core.dtypes.common import is_bool, is_integer
label_desc: Use image node_id 9 for calling a global function with example usage: validate_window_func(name, args, kwargs) without return types