code: def __init__(self, y: Union[Series, np.ndarray, list, DataFrame]):
      y = self._convert_to_valid_series(y)
      self.original_dtype = y.dtype
  
imports: import copy
  import logging
  from typing import Union
  import numpy
  from pandas import DataFrame, Series
  from autogluon.core.constants import BINARY, MULTICLASS, QUANTILE, REGRESSION, SOFTCLASS
  from autogluon.core.utils import get_pred_from_proba, get_pred_from_proba_df
label_desc: Use image node_id 1 to create a new LabelCleaner object  with example: obj = LabelCleaner(y)