DaskDataFrameClient.export(filepath, columns=None, *, format=None)[source]

Download data in some format and write to a file.

file: str or buffer

Filepath or writeable buffer.

formatstr, optional

If format is None and file is a filepath, the format is inferred from the name, like ‘table.csv’ implies format=”text/csv”. The format may be given as a file extension (“csv”) or a media type (“text/csv”).

columns: List[str], optional

Select a subset of the columns.