# Table.write_parquet
URL: https://lsd.tools/docs/api-table-write-parquet
Updated: 2026-07-17

## Parameters

| name | type | default | description |
|---|---|---|---|
| `path` | `str` \| `Path` | — | destination file path |
| `compression` | `str` | `"snappy"` | Parquet codec, e.g. `"snappy"`, `"zstd"`, `"gzip"`, `"none"` |

## Example

```python
t.write_parquet("out.parquet")
```

Pick a stronger codec:

```python
t.write_parquet("out.parquet", compression="zstd")
```

## Notes

Returns the `path` it wrote, so it composes at the end of a pipeline. `compression`
defaults to `"snappy"`.

## See also

**API:** [write_csv](/docs/api-table-write-csv) · [Table](/docs/api-table) · [to_pylist](/docs/api-table-to-pylist)

**Guides:** [Tables & data flow](/docs/tools-tables)
