An xarray.Dataset object containing the input data.
kpi_type
A string denoting whether the KPI is of a 'revenue' or
'non-revenue' type. When the kpi_type is 'non-revenue' and
revenue_per_kpi exists, ROI calibration is used and the analysis is
run on revenue. When revenue_per_kpi doesn't exist for the same
kpi_type, custom ROI calibration is used and the analysis is run on
KPI.
name_mapping
An optional dictionary whose keys are the current
coordinates or array names in the input dataset and whose values are
the desired coordinates (geo, time, media_time, media_channel
and/or rf_channel, control_variable, non_media_channel,
organic_media_channel, organic_rf_channel) or array names (kpi,
revenue_per_kpi, media, media_spend and/or rf_spend, controls,
population, non_media_treatments, organic_media, organic_reach,
organic_frequency). Mapping must be provided if the names in the
input dataset are different from the required ones, otherwise errors
are thrown.
currency_code
An optional ISO 4217 currency code (e.g., 'USD',
'EUR').
Attributes
dataset
An xr.Dataset object containing the input data.
kpi_type
A string denoting whether the KPI is of a 'revenue' or
'non-revenue' type. When the kpi_type is 'non-revenue' and
revenue_per_kpi exists, ROI calibration is used and the analysis is run
on revenue. When revenue_per_kpi doesn't exist for the same kpi_type,
custom ROI calibration is used and the analysis is run on KPI.
currency_code
An optional ISO 4217 currency code (e.g., 'USD', 'EUR').
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-09-03 UTC."],[],[]]