<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def table_stats(self, name, database=None):
 """ Return results of SHOW TABLE STATS for indicated table. See also ImpalaTable.stats """

        stmt = self._table_command('SHOW TABLE STATS', name, database=database)
        return self._exec_statement(stmt)