def merge(self, optbsketch):
        """Merge current instance with another OptimalBinningSketch instance.

        Parameters
        ----------
        optbsketch : object
            OptimalBinningSketch instance.
        """
        if not self.mergeable(optbsketch):
            raise Exception("optbsketch does not share signature.")

        self._bsketch.merge(optbsketch._bsketch)

        if self.verbose:
            logger.info("Sketch: current sketch was merged.")
Merge current instance with another OptimalBinningSketch instance.

        Parameters
        ----------
        optbsketch : object
            OptimalBinningSketch instance.
        
optbinning/binning/distributed/binning_sketch.py