def to_rows(self, serialize_dates=False):
        """
        Generates rows from columns and performs.

        Optionally serialize date objects to isoformat strings.
        """
        if serialize_dates:
            out_columns = []

            for c in self:
                # Stringify datetimes, dates, and times
                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)

            # Convert columns to rows
            return list(zip(*out_columns))
        else:
            return list(zip(*self))
dataset/ETHPy150Open wireservice/csvkit/csvkit/table.py/Table.to_rows/original