

def to_rows(self, serialize_dates=False):
    '\n        Generates rows from columns and performs.\n\n        Optionally serialize date objects to isoformat strings.\n        '
    if serialize_dates:
        out_columns = []
        for c in self:
            if (c.type in [datetime.datetime, datetime.date, datetime.time]):
                out_columns.append([(six.text_type(v.isoformat()) if (v is not None) else None) for v in c])
            else:
                out_columns.append(c)
        return list(zip(*out_columns))
    else:
        return list(zip(*self))

dataset/ETHPy150Open wireservice/csvkit/csvkit/table.py Table.to_rows/original