code: def split_evaluator_extractor_iteration(
      split_value, result, split_col, base_extractor, eval_name=None
  ):
      if eval_name is None:
          eval_name = "split_evaluator__" + split_col
  
      key = eval_name + "_" + str(split_value)
  
      return base_extractor(result.get(key, {})).assign(
          **{eval_name: split_value}
      )
  
imports: import collections.abc
  from datetime import datetime
  from itertools import chain, repeat
  import pandas
  from toolz import curry
  from numpy import nan
label_desc: Use image node_id 3 for calling a global function with example usage: split_evaluator_extractor_iteration(split_value, result, split_col, base_extractor, eval_name) and returns: base_extractor