def merge(self, bpsketch):
        """Merge current instance with another BinningProcessSketch instance.

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

        for name in self.variable_names:
            self._binned_variables[name].merge(
                bpsketch._binned_variables[name])

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

        Parameters
        ----------
        bpsketch : object
            BinningProcessSketch instance.
        
optbinning/binning/distributed/binning_process_sketch.py