class_docstr: Utility that supports re-dimensioning any HoloViews object via the
  redim method.
class_docstr_tok: ["Utility","that","supports","re-dimensioning","any","HoloViews","object","via","the","redim","method","."]
code: def _create_expression_transform(self, kdims, vdims, exclude=None):
      from ..util.transform import dim
      from .dimension import dimension_name
  
      if exclude is None:
          exclude = []
  
      def _transform_expression(expression):
          if dimension_name(expression.dimension) in exclude:
              dimension = expression.dimension
          else:
              dimension = self._transform_dimension(
                  kdims, vdims, expression.dimension
              )
          expression = expression.clone(dimension)
          ops = []
          for op in expression.ops:
              new_op = dict(op)
              new_args = []
              for arg in op["args"]:
                  if isinstance(arg, dim):
                      arg = _transform_expression(arg)
                  new_args.append(arg)
              new_op["args"] = tuple(new_args)
              new_kwargs = {}
              for kw, kwarg in op["kwargs"].items():
                  if isinstance(kwarg, dim):
                      kwarg = _transform_expression(kwarg)
                  new_kwargs[kw] = kwarg
              new_op["kwargs"] = new_kwargs
              ops.append(new_op)
          expression.ops = ops
          return expression
  
      return _transform_expression
  
imports: import copy
  import sys
  from functools import wraps
  from types import FunctionType
  import param
  from .None import util
  from .pprint import PrettyPrinter
label_desc: Use image node_id 6 for calling the Redim obj's underlying member method code with example usage: obj._create_expression_transform(kdims, vdims, exclude) and returns: _transform_expression, expression