<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def do_table(self, arg):
 """Prints the set of values for the independent vs. dependent variables in the active unit test and analysis group as a table. """

        usable, filename, append = self._redirect_split(arg)
        a = self.tests[self.active]
        args = self.curargs
        self._make_fits()
        result = a.table(args["independent"], args["dependents"], args["threshold"],
                         args["headings"], args["functions"])
        if result is not None:
            self._redirect_output(result, filename, append, msg.info)