code: def to_dict(self) -> OrderedDict:
          
          result = OrderedDict()
          result["adaptive"] = self._adaptive
          result["binning_type"] = type(self).__name__
          self._update_dict(result)
          return result
docs: Dictionary representation of the binning schema.
  
          This serves as template method, please implement _update_dict