Join the newly launched Discord
community for real-time discussions, peer support, and direct interaction with the Meridian team!
Module: meridian.analysis.formatter
Stay organized with collections
Save and categorize content based on your preferences.
Functions for formatting analysis outputs.
Classes
class CardSpec
class ChartSpec
class StatsSpec
class TableSpec
Functions
create_card_html(...)
: Creates a card's HTML snippet that includes given card and chart specs.
create_template_env(...)
: Creates a Jinja2 template environment.
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-09-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 2025-09-05 UTC."],[[["\u003cp\u003eThis webpage outlines the functions and classes used for formatting analysis outputs within the Meridian project.\u003c/p\u003e\n"],["\u003cp\u003eIt details four classes: \u003ccode\u003eCardSpec\u003c/code\u003e, \u003ccode\u003eChartSpec\u003c/code\u003e, \u003ccode\u003eStatsSpec\u003c/code\u003e, and \u003ccode\u003eTableSpec\u003c/code\u003e, which likely define different types of analysis output formats.\u003c/p\u003e\n"],["\u003cp\u003eThe page describes two primary functions: \u003ccode\u003ecreate_card_html\u003c/code\u003e, which generates HTML for cards, and \u003ccode\u003ecreate_template_env\u003c/code\u003e, which sets up a Jinja2 template environment.\u003c/p\u003e\n"],["\u003cp\u003eThe content is available for view on github at the provided URL.\u003c/p\u003e\n"]]],[],null,["\u003cbr /\u003e\n\n|--------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/google/meridian/blob/v1.2.0/meridian/analysis/formatter.py) |\n\nFunctions for formatting analysis outputs.\n\nClasses\n\n[`class CardSpec`](../../meridian/analysis/formatter/CardSpec.md)\n\n[`class ChartSpec`](../../meridian/analysis/formatter/ChartSpec.md)\n\n[`class StatsSpec`](../../meridian/analysis/formatter/StatsSpec.md)\n\n[`class TableSpec`](../../meridian/analysis/formatter/TableSpec.md)\n\nFunctions\n\n[`create_card_html(...)`](../../meridian/analysis/formatter/create_card_html.md): Creates a card's HTML snippet that includes given card and chart specs.\n\n[`create_template_env(...)`](../../meridian/analysis/formatter/create_template_env.md): Creates a Jinja2 template environment."]]