idata_from_zarr#

pymc_marketing.data.idata.io.idata_from_zarr(store)[source]#

Open a Zarr store written by idata_to_zarr() as a lazy DataTree.

Parameters:

store (str | Path) – Store directory.

Return type:

xr.DataTree

Returns:

Lazily loaded tree. Call .load() before deleting the store.

Raises:

ImportError – If zarr is not installed.