code: def __init__(
      self,
      data,
      categorical_features,
      feature_names,
      labels=None,
      random_state=None,
  ):
      BaseDiscretizer.__init__(
          self,
          data,
          categorical_features,
          feature_names,
          labels=labels,
          random_state=random_state,
      )
  
imports: import numpy
  import sklearn
  import sklearn.tree
  import scipy
  from sklearn.utils import check_random_state
  from abc import ABCMeta, abstractmethod
label_desc: Use image node_id 1 to create a new QuartileDiscretizer object from inherited base classes: BaseDiscretizer with example: obj = QuartileDiscretizer(data, categorical_features, feature_names, labels, random_state)