anndata.AnnData.write_zarr#
- AnnData.write_zarr(store, *, chunks=None, convert_strings_to_categoricals=True, consolidate_metadata=True)[source]#
Write a hierarchical Zarr array store.
- Parameters:
- store
Store|StorePath|FSMap|Path|str|dict[str,Buffer] The filename, a
MutableMapping, or a Zarr storage class.- chunks
tuple[int,...] |None(default:None) Chunk shape.
- convert_strings_to_categoricals
bool(default:True) Convert string columns to categorical.
- consolidate_metadata
bool(default:True) Whether to consolidate the metadata of the store after writing.
- store