def export_set(dataset, **kwargs):
    stream = StringIO()

    kwargs.setdefault('delimiter', DEFAULT_DELIMITER)
    if not is_py3:
        kwargs.setdefault('encoding', DEFAULT_ENCODING)

    _csv = csv.writer(stream, **kwargs)

    for row in dataset._package(dicts=False):
        _csv.writerow(row)

    return stream.getvalue()
Returns CSV representation of Dataset.
dataset/ETHPy150Open kennethreitz/tablib/tablib/formats/_csv.py/export_set