## export_results()


Export a list of dictionaries to a CSV or TSV file.


Usage

``` python
export_results(
    output,
    results,
)
```


The output format is determined by the file extension: - .tsv: Tab-separated values - .csv: Comma-separated values


## Parameters


`output: str | Path`  
Path to the output file.

`results: list[dict]`  
List of dictionaries to export as rows.


## Raises


`DataExportError`  
If the export fails.
