Avoid error while entering a target as a categorical list or Pandas.Series
Avoid error while entering a target as a categorical list or Pandas.Series