TabularRow

TabularRow[data]

represents a single row of a Tabular object.

TabularRow[data,{key1,key2,}]

sets keyi as the name of column i of the tabular row object.

Details and Options

  • TabularRow is typically used to represent a row in a Tabular object. It contains column names and types.
  • Possible forms of input data in TabularRow include:
  • <|col1val1,col2val2,|>association of values vali with column keys coli
    {val1,val2,}list of values
  • TabularRow[{val1,val2,},{col1,col2,}] is equivalent to TabularRow[<|col1val1,col2val2,|>].
  • The Normal form of TabularRow is a list of values when no column names are specified or an association of values when columns are named.

Examples

open allclose all

Basic Examples  (3)

Create a TabularRow object from an association:

Check the types automatically assigned to each column:

Create a TabularRow object from a list of values:

The entries of the row do not have column keys:

Extract a tabular row from a Tabular object:

Normalize into an association:

Scope  (5)

Create a TabularRow with named columns:

Alternatively, specify the column keys separately:

Or more specifically:

The three rows are identical:

A TabularRow object can be empty:

Construct a TabularRow object from a numeric vector, specifying column types:

Check the types stored:

Mix number, string and Boolean types:

The elements of a TabularRow object can be lists:

Applications  (1)

Take a list of TabularRow expressions:

Build a Tabular object from those rows:

Alternatively, use ToTabular:

Normalize to get the data back:

Properties & Relations  (2)

Check validity of a TabularRow object with TabularRowQ:

A TabularRow object is not a valid one-row Tabular object:

Construct a Tabular object with only that row:

Wolfram Research (2025), TabularRow, Wolfram Language function, https://reference.wolfram.com/language/ref/TabularRow.html.

Text

Wolfram Research (2025), TabularRow, Wolfram Language function, https://reference.wolfram.com/language/ref/TabularRow.html.

CMS

Wolfram Language. 2025. "TabularRow." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/TabularRow.html.

APA

Wolfram Language. (2025). TabularRow. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/TabularRow.html

BibTeX

@misc{reference.wolfram_2024_tabularrow, author="Wolfram Research", title="{TabularRow}", year="2025", howpublished="\url{https://reference.wolfram.com/language/ref/TabularRow.html}", note=[Accessed: 15-January-2025 ]}

BibLaTeX

@online{reference.wolfram_2024_tabularrow, organization={Wolfram Research}, title={TabularRow}, year={2025}, url={https://reference.wolfram.com/language/ref/TabularRow.html}, note=[Accessed: 15-January-2025 ]}