def __str__(self): """ Serializes the table into a csv file """ s = StringIO.StringIO() self.export_to_csv_file(s) return s.getvalue()