class_docstr: Categorical distribution.
  
  Parameters
  ----------
  values: list or other iterable
      Possible values.
  
  Warnings
  --------
  - `None` is not supported  as a value for ConfigSpace.
code: def get_CS(self, label):
      import ConfigSpace.hyperparameters as CSH
  
      return CSH.CategoricalHyperparameter(
          name=label,
          choices=[x for x in self.values if isinstance(x, Hashable)],
      )
  
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 6 for calling the CategoricalDistribution obj's underlying member method code with example usage: obj.get_CS(label) and returns: CSH