def to_file(self, path, delimiter=None,
                mode='w', buffering=-1, encoding=None, errors=None, newline=None):
        with builtins.open(path, mode=mode, buffering=buffering, encoding=encoding, errors=errors,
                           newline=newline) as output:
            if delimiter:
                output.write(six.u(self.make_string(delimiter)))
            else:
                output.write(six.u(str(self)))
Saves the sequence to a file by executing str(self) which becomes str(self.to_list()). If
dataset/ETHPy150Open EntilZha/PyFunctional/functional/pipeline.py/Sequence.to_file