meridian.data.load.CoordToColumns
Stay organized with collections
Save and categorize content based on your preferences.
A mapping between the desired and actual column names in the input data.
meridian.data.load.CoordToColumns(
time: str = constants.TIME,
geo: str = constants.GEO,
kpi: str = constants.KPI,
controls: (Sequence[str] | None) = None,
revenue_per_kpi: (str | None) = None,
population: str = constants.POPULATION,
media: (Sequence[str] | None) = None,
media_spend: (Sequence[str] | None) = None,
reach: (Sequence[str] | None) = None,
frequency: (Sequence[str] | None) = None,
rf_spend: (Sequence[str] | None) = None,
non_media_treatments: (Sequence[str] | None) = None,
organic_media: (Sequence[str] | None) = None,
organic_reach: (Sequence[str] | None) = None,
organic_frequency: (Sequence[str] | None) = None
)
Attributes |
time
|
Name of column containing time values in the input data.
|
geo
|
Name of column containing geo values in the input data. This field
is optional for a national model.
|
kpi
|
Name of column containing kpi values in the input data.
|
controls
|
List of column names containing controls values in the input
data. Optional.
|
revenue_per_kpi
|
Name of column containing revenue_per_kpi values in the
input data. Optional. Will be overridden if model KPI type is "revenue".
|
population
|
Name of column containing population values in the input data.
This field is optional for a national model.
|
media
|
List of column names containing media values in the input data.
|
media_spend
|
List of column names containing media_spend values in the
input data.
|
reach
|
List of column names containing reach values in the input data.
|
frequency
|
List of column names containing frequency values in the input
data.
|
rf_spend
|
List of column names containing rf_spend values in the input
data.
|
non_media_treatments
|
List of column names containing non_media_treatments
values in the input data.
|
organic_media
|
List of column names containing organic_media values in the
input data.
|
organic_reach
|
List of column names containing organic_reach values in the
input data.
|
organic_frequency
|
List of column names containing organic_frequency
values in the input data.
|
Methods
__eq__
__eq__(
other
)
Return self==value.
Class Variables |
|
controls
|
None
|
|
frequency
|
None
|
|
geo
|
'geo'
|
|
kpi
|
'kpi'
|
|
media
|
None
|
|
media_spend
|
None
|
|
non_media_treatments
|
None
|
|
organic_frequency
|
None
|
|
organic_media
|
None
|
|
organic_reach
|
None
|
|
population
|
'population'
|
|
reach
|
None
|
|
revenue_per_kpi
|
None
|
|
rf_spend
|
None
|
|
time
|
'time'
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-12-09 UTC.
[null,null,["Last updated 2025-12-09 UTC."],[],[]]