tiled.client.awkward.AwkwardClient.export
- AwkwardClient.export(filepath, *, format=None)[source]
Download data in some format and write to a file.
- Parameters:
- 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”).
Examples
Export as Parquet.
>>> a.export("awkward.parquet")
Export as JSON.
>>> a.export("awkward.json")