def to_csv(self, path, mode=CSV_WRITE_MODE, dialect='excel', **fmtparams):
        with builtins.open(path, mode) as output:
            csv_writer = csv.writer(output, dialect=dialect, **fmtparams)
            for row in self:
                csv_writer.writerow([six.u(str(element)) for element in row])
Saves the sequence to a csv file. Each element should be an iterable which will be expanded
dataset/ETHPy150Open EntilZha/PyFunctional/functional/pipeline.py/Sequence.to_csv