dandelion.polars.core.Dandelion.write_ddl
- Dandelion.write_ddl(filename='dandelion.zipddl', compress=True)
Write a Dandelion object to a single .zipddl file (Zarr v3 ZipStore, hybrid storage) with optional compression.
Storage scheme:
data and metadata → Parquet blobs
distances → Zarr arrays
graph, layout and germline → HDF5
- Parameters:
filename (str, optional) – path to output .zipddl file.
compress (bool, optional) – whether to compress stored data using Blosc/Zstd with bitshuffle. Defaults to True.