<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def results(self, json=True):
 """ Returns the complete results table for the classification. Parameters json : bool, optional Return result as JSON? Default True. Returns ------- table : dict | DataFrame Return a JSON object with the classification results or a Pandas DataFrame if json=False. """

        if json is True:
            return self._results()
        else:
            return self._table()