code: def _node_not_implemented(node_name, cls):
      """Return a function that raises a NotImplementedError with a passed node
      name.
      """
  
      def f(self, *args, **kwargs):
          raise NotImplementedError(
              "{name!r} nodes are not "
              "implemented".format(name=node_name)
          )
  
      return f
  
imports: import ast
  from functools import partial
  import tokenize
  import numpy
  from pandas.compat import StringIO, lmap, reduce, string_types, zip
  import pandas
  from pandas import compat
  from pandas.core import common
  from pandas.core.base import StringMixin
  from pandas.core.computation.ops import _LOCAL_TAG, BinOp, Constant, Div, FuncNode, Op, Term, UnaryOp, UndefinedVariableError, _arith_ops_syms, _bool_ops_syms, _cmp_ops_syms, _mathops, _reductions, _unary_ops_syms, is_term
  from pandas.core.computation.scope import Scope
  import pandas.io.formats.printing
label_desc: Use image node_id 10 for calling a global function with example usage: _node_not_implemented(node_name, cls) and returns: f