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 allclose allBasic Examples (1)
Scope (3)
Use with MatrixForm:
Use automatically generated headings for rows and columns:
Wolfram Research (1991), TableHeadings, Wolfram Language function, https://reference.wolfram.com/language/ref/TableHeadings.html.
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