MMMIDataWrapper.get_channel_spend#

MMMIDataWrapper.get_channel_spend()[source]#

Get channel spend data with consistent access pattern.

Returns raw channel spend data (not MCMC samples).

Returns:
xr.DataArray

Channel spend values with dims (date, channel)

Raises:
ValueError

If channel_data not found in constant_data