code: def UnbatchExtractor() -> extractor.Extractor:
      """Creates an extractor for unbatching batched extracts.
  
      This extractor removes Arrow RecordBatch from the batched extract and outputs
      per-example extracts with the remaining keys. We assume that the remaining
      keys in the input extract contain list of objects (one per example).
  
      Returns:
        Extractor for unbatching batched extracts.
      """
      # pylint: disable=no-value-for-parameter
      return extractor.Extractor(
          stage_name=UNBATCH_EXTRACTOR_STAGE_NAME,
          ptransform=_UnbatchInputs(),
      )
  
file_path: model-analysis/tensorflow_model_analysis/extractors/unbatch_extractor.py
imports: from typing import Sequence
  import apache_beam
  import pandas
  from tensorflow_model_analysis import constants
  from tensorflow_model_analysis.api import types
  from tensorflow_model_analysis.extractors import extractor
  from tensorflow_model_analysis.utils import util
label_desc: Use image node_id 1 for calling a global function with example usage: UnbatchExtractor() and returns: extractor