class_docstr: Count-Min Sketch Commands
class_docstr_tok: ["Count-Min","Sketch","Commands"]
docstr: Merge `numKeys` of sketches into `destKey`. Sketches specified in `srcKeys`.
  All sketches must have identical width and depth.
  `Weights` can be used to multiply certain sketches. Default weight is 1.
  Both `srcKeys` and `weights` are lists.
  For more information see `CMS.MERGE <https://redis.io/commands/cms.merge>`_.
docstr_tok: ["Merge","`","numKeys","`","of","sketches","into","`","destKey","`",".","Sketches","specified","in","`","srcKeys","`",".","All","sketches","must","have","identical","width","and","depth",".","`","Weights","`","can","be","used","to","multiply","certain","sketches",".","Default","weight","is","1",".","Both","`","srcKeys","`","and","`","weights","`","are","lists",".","For","more","information","see","`","CMS.MERGE","<","https",":","\/\/redis.io\/commands\/cms.merge",">","`","_","."]
code: def merge(self, destKey, numKeys, srcKeys, weights=[]):
      """
      Merge `numKeys` of sketches into `destKey`. Sketches specified in `srcKeys`.
      All sketches must have identical width and depth.
      `Weights` can be used to multiply certain sketches. Default weight is 1.
      Both `srcKeys` and `weights` are lists.
      For more information see `CMS.MERGE <https://redis.io/commands/cms.merge>`_.
      """  # noqa
      params = [destKey, numKeys]
      params += srcKeys
      self.append_weights(params, weights)
      return self.execute_command(CMS_MERGE, *params)
  
imports: from redis.client import NEVER_DECODE
  from redis.exceptions import ModuleError
  from redis.utils import HIREDIS_AVAILABLE, deprecated_function
label_desc: Use image node_id 5 for calling the CMSCommands obj's underlying member method code with example usage: obj.merge(destKey, numKeys, srcKeys, weights) and returns: self