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.
更多信息和选项
- 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.
范例
打开所有单元关闭所有单元基本范例 (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:
Scope (5)
Create a TabularRow with named columns:
Alternatively, specify the column keys separately:
A TabularRow object can be empty:
Construct a TabularRow object from a numeric vector, specifying column types:
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:
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 语言函数,https://reference.wolfram.com/language/ref/TabularRow.html.
CMS
Wolfram 语言. 2025. "TabularRow." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/TabularRow.html.
APA
Wolfram 语言. (2025). TabularRow. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/TabularRow.html 年