code: def compute_stats(self, name, database=None, incremental=False):
          
          maybe_inc = 'INCREMENTAL ' if incremental else ''
          cmd = 'COMPUTE {0}STATS'.format(maybe_inc)
  
          stmt = self._table_command(cmd, name, database=database)
          self._execute(stmt)
docs: Issue COMPUTE STATS command for a given table
  
          Parameters
          ----------
          name : string
            Can be fully qualified (with database name)
          database : string, optional
          incremental : boolean, default False
            If True, issue COMPUTE INCREMENTAL STATS