code: def _get_learners(
      df: pd.DataFrame,
      control_learner: Callable,
      treatment_learner: Callable,
      unique_treatments: List[str],
      control_name: str,
      treatment_col: str,
  ) -> Tuple[Dict[str, Callable], Dict[str, dict]]:
      learners: Dict[str, Callable] = {}
      logs: Dict[str, dict] = {}
  
      learner_fcn, _, learner_logs = _get_model_fcn(
          df, treatment_col, control_name, control_learner
      )
      learners[control_name] = learner_fcn
      logs[control_name] = learner_logs
  
      for treatment_name in unique_treatments:
          learner_fcn, _, learner_logs = _get_model_fcn(
              df, treatment_col, treatment_name, treatment_learner
          )
          learners[treatment_name] = learner_fcn
          logs[treatment_name] = learner_logs
  
      return learners, logs
  
imports: import copy
  import inspect
  from typing import Callable, Dict, List, Tuple
  import numpy
  import pandas
  from toolz import curry
  from fklearn.common_docstrings import learner_pred_fn_docstring, learner_return_docstring
  from fklearn.exceptions.exceptions import MissingControlError, MissingTreatmentError, MultipleTreatmentsError
  from fklearn.training.pipeline import build_pipeline
  from fklearn.types import LearnerFnType, LearnerReturnType, PredictFnType
label_desc: Use image node_id 12 for calling a global function with example usage: _get_learners(df, control_learner, treatment_learner, unique_treatments, control_name, treatment_col) and returns: learners,  logs