MMMIDataWrapper.get_channel_data#
- MMMIDataWrapper.get_channel_data()[source]#
Get raw channel data in original units (not spend-converted).
Always returns
channel_datafromconstant_data, regardless of whethercost_per_unit/channel_spendhas been set. Use this when you need data in the units the model was trained on (e.g., impressions, clicks) rather than monetary units.- Returns:
xr.DataArrayRaw channel data with dims (date, channel) or (date, *custom_dims, channel).
- Raises:
ValueErrorIf channel_data not found in constant_data.