code: def remove_feature(
      feature_name: Union[str, List[str]]
  ) -> ExampleTransformFn:
      """Removes the feature(s) with the given name."""
  
      if isinstance(feature_name, str):
          feature_name = [feature_name]
  
      def apply_on_example(example: Example) -> Iterator[Example]:
          for name in feature_name:
              del example[name]
          yield example
  
      return apply_on_example
  
file_path: datasets/tensorflow_datasets/core/transform/transform_lib.py
imports: from __future__ import annotations
  import functools
  from typing import Any, Callable, Iterator, List, Mapping, Optional, Union
  import numpy
  from tensorflow_datasets.core import split_builder
label_desc: Use image node_id 1 for calling a global function with example usage: remove_feature(feature_name) and returns: apply_on_example