scenarioplanner.converters.dataframe.dataframe_model_converter.DataFrameModelConverter
Stay organized with collections
Save and categorize content based on your preferences.
Converts a bound Mmm model into denormalized flat data frame tables.
Inherits From: ModelConverter
scenarioplanner.converters.dataframe.dataframe_model_converter.DataFrameModelConverter(
mmm_proto: pb.Mmm
)
The denormalized, two-dimensional data frame tables are intended to be
directly compiled into sheets in a Google Sheets file to be used as a data
source for a Looker Studio dashboard.
These data frame tables are:
- "ModelDiagnostics"
- "ModelFit"
- "MediaOutcome"
- "MediaSpend"
- "MediaROI"
- (Named Incremental Outcome Grids)
- "budget_opt_specs"
- "budget_opt_results"
- "response_curves"
- (Named R&F ROI Grids)
- "rf_opt_specs"
- "rf_opt_results"
Methods
__call__
View source
__call__(
**kwargs
) -> Mapping[str, pd.DataFrame]
Converts bound Mmm model proto to named, flat data frame tables.
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 2026-03-05 UTC.
[[["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-03-05 UTC."],[],[]]