code: def _get_unique_treatments(
      df: pd.DataFrame, treatment_col: str, control_name: str
  ) -> list:
      if control_name not in df[treatment_col].unique():
          raise MissingControlError()
  
      return [
          col
          for col in df[treatment_col].unique()
          if col != control_name
      ]
  
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 3 for calling a global function with example usage: _get_unique_treatments(df, treatment_col, control_name) and returns: unknown