require_zarr#
- pymc_marketing.data.idata.io.require_zarr(*, writing=False)[source]#
Raise
ImportErrorwith an install hint when Zarr stores cannot be used.- Parameters:
writing (
bool) – Also require the xarray release that can write Zarr 3 stores.- Raises:
ImportError – If
zarrcannot be imported, orwritingis True and xarray is older than the floor of thezarrextra.