docstr: Allocate the memory and initialize the t-digest.
  For more information see `TDIGEST.CREATE <https://redis.io/commands/tdigest.create>`_.
docstr_tok: ["Allocate","the","memory","and","initialize","the","t-digest",".","For","more","information","see","`","TDIGEST.CREATE","<","https",":","\/\/redis.io\/commands\/tdigest.create",">","`","_","."]
code: def create(self, key, compression=100):
      """
      Allocate the memory and initialize the t-digest.
      For more information see `TDIGEST.CREATE <https://redis.io/commands/tdigest.create>`_.
      """  # noqa
      return self.execute_command(
          TDIGEST_CREATE, key, "COMPRESSION", compression
      )
  
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 1 for calling the TDigestCommands obj's underlying member method code with example usage: obj.create(key, compression) and returns: self