class_docstr: Categorical distribution.
  
  Parameters
  ----------
  values: list or other iterable
      Possible values.
  
  Warnings
  --------
  - `None` is not supported  as a value for ConfigSpace.
code: def __init__(self, values):
      self.values = list(values)
  
imports: from typing import Dict, Optional
  from scipy.stats import loguniform, randint, uniform
  from copy import copy
  import numpy
label_desc: Use image node_id 1 to create a new CategoricalDistribution object from inherited base classes: Distribution with example: obj = CategoricalDistribution(values)