from_netcdf#

pymc_marketing.utils.from_netcdf(filepath)[source]#

Load inference data from a netcdf file.

Deprecated since version ``from_netcdf``: will be removed in a future release. Use xr.open_datatree directly instead.

Parameters:

filepath (str | Path) – The path to the netcdf file.

Return type:

xr.DataTree

Returns:

The inference data.