def to_jsonl(self, path, mode='w'):
        with builtins.open(path, mode=mode) as output:
            output.write(six.u(
                self.map(json.dumps).make_string('\n') + '\n'
            ))
Saves the sequence to a jsonl file. Each element is mapped using json.dumps then written
dataset/ETHPy150Open EntilZha/PyFunctional/functional/pipeline.py/Sequence.to_jsonl