Join the newly launched Discord
community for real-time discussions, peer support, and direct interaction with the Meridian team!
meridian.analysis.formatter.TableSpec
Stay organized with collections
Save and categorize content based on your preferences.
meridian
.
analysis
.
formatter
.
TableSpec
(
id
:
str
,
title
:
str
,
column_headers
:
Sequence
[
str
],
row_values
:
Sequence
[
Sequence
[
str
]],
description
:
(
str
|
None
)
=
None
)
Methods
__eq__
__eq__
(
other
)
Return self==value.
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\u003eThe \u003ccode\u003eTableSpec\u003c/code\u003e class from \u003ccode\u003emeridian.analysis.formatter\u003c/code\u003e is a dataclass used to specify table structures.\u003c/p\u003e\n"],["\u003cp\u003eIt includes attributes for \u003ccode\u003eid\u003c/code\u003e, \u003ccode\u003etitle\u003c/code\u003e, \u003ccode\u003ecolumn_headers\u003c/code\u003e, \u003ccode\u003erow_values\u003c/code\u003e, and an optional \u003ccode\u003edescription\u003c/code\u003e, all of which are dataclass fields.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides a method \u003ccode\u003e__eq__\u003c/code\u003e for checking equality with another object.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003edescription\u003c/code\u003e class variable defaults to \u003ccode\u003eNone\u003c/code\u003e when not specified.\u003c/p\u003e\n"]]],["The core content describes the `TableSpec` dataclass within the `meridian.analysis.formatter` module. It defines a table structure using an `id`, `title`, `column_headers`, `row_values`, and an optional `description`. These are all dataclass fields. There is an `__eq__` method to check if two objects are equal. The default value of description class variable is None. The source code is available on GitHub.\n"],null,["\u003cbr /\u003e\n\n|----------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/google/meridian/blob/v1.2.0/meridian/analysis/formatter.py#L51-L57) |\n\n meridian.analysis.formatter.TableSpec(\n id: str,\n title: str,\n column_headers: Sequence[str],\n row_values: Sequence[Sequence[str]],\n description: (str | None) = None\n )\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Attributes ||\n|------------------|-----------------|\n| `id` | Dataclass field |\n| `title` | Dataclass field |\n| `column_headers` | Dataclass field |\n| `row_values` | Dataclass field |\n| `description` | Dataclass field |\n\n\u003cbr /\u003e\n\nMethods\n\n`__eq__` \n\n __eq__(\n other\n )\n\nReturn self==value.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Class Variables ||\n|-------------|--------|\n| description | `None` |\n\n\u003cbr /\u003e"]]