code: def learning_curve_evaluator_extractor(result, base_extractor):
      return base_extractor(result).assign(
          lc_period_end=result["lc_period_end"]
      )
  
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 6 for calling a global function with example usage: learning_curve_evaluator_extractor(result, base_extractor) and returns: base_extractor