is an option for TableForm and MatrixForm that gives the labels to be printed for entries in each dimension of a table or matrix.


TableHeadings
is an option for TableForm and MatrixForm that gives the labels to be printed for entries in each dimension of a table or matrix.
Details

- TableHeadings->None gives no labels in any dimension.
- TableHeadings->Automatic gives successive integer labels for each entry in each dimension. »
- TableHeadings->{{lbl11,lbl12,…},…} gives explicit labels for each entry.
- The labels can be strings or other Wolfram Language expressions. »
- The labels are placed as headings for rows or columns.
Examples
open all close allBasic Examples (1)
Scope (3)
Use with MatrixForm:
Use automatically generated headings for rows and columns:
See Also
Tech Notes
Related Workflows
- Make a Grid of Output Data
History
Introduced in 1991 (2.0)
Text
Wolfram Research (1991), TableHeadings, Wolfram Language function, https://reference.wolfram.com/language/ref/TableHeadings.html.
CMS
Wolfram Language. 1991. "TableHeadings." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/TableHeadings.html.
APA
Wolfram Language. (1991). TableHeadings. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/TableHeadings.html
BibTeX
@misc{reference.wolfram_2025_tableheadings, author="Wolfram Research", title="{TableHeadings}", year="1991", howpublished="\url{https://reference.wolfram.com/language/ref/TableHeadings.html}", note=[Accessed: 08-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_tableheadings, organization={Wolfram Research}, title={TableHeadings}, year={1991}, url={https://reference.wolfram.com/language/ref/TableHeadings.html}, note=[Accessed: 08-August-2025]}