AwkwardClient.export(filepath, *, 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”).


Export as Parquet.

>>> a.export("awkward.parquet")

Export as JSON.

>>> a.export("awkward.json")