idata_to_zarr#

pymc_marketing.data.idata.utils.idata_to_zarr(idata, store, groups=None)[source]#

Save a DataTree to a Zarr store.

Parameters:
idataxr.DataTree

The DataTree to save.

storestr or Path

Path to the Zarr store directory.

groupslist of str, optional

Groups to save. If None, all groups are saved.