def csv(self, **kwargs):
        out = StringIO()
        writer = csv.DictWriter(out, self.columns, **kwargs)
        writer.writerow(dict(zip(self.columns, self.columns)))
        writer.writerows(dict(row.items()) for row in self.rows)
        
        return out
Export this table as a CSV
dataset/ETHPy150Open eyeseast/python-tablefu/table_fu/__init__.py/TableFu.csv