docstr: Return maximum value from the sketch `key`. Will return DBL_MIN if the sketch is empty.
  For more information see `TDIGEST.MAX <https://redis.io/commands/tdigest.max>`_.
docstr_tok: ["Return","maximum","value","from","the","sketch","`","key","`",".","Will","return","DBL_MIN","if","the","sketch","is","empty",".","For","more","information","see","`","TDIGEST.MAX","<","https",":","\/\/redis.io\/commands\/tdigest.max",">","`","_","."]
code: def max(self, key):
      """
      Return maximum value from the sketch `key`. Will return DBL_MIN if the sketch is empty.
      For more information see `TDIGEST.MAX <https://redis.io/commands/tdigest.max>`_.
      """  # noqa
      return self.execute_command(TDIGEST_MAX, key)
  
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 6 for calling the TDigestCommands obj's underlying member method code with example usage: obj.max(key) and returns: self