FUNCTION REFERENCE

summary

Print or return a summary of a table or timetable.

Print or return a summary of a table or timetable.

Syntax

summary(T)

Syntax

s = summary(T)

Prints per-variable size, class, Description, and statistics (Min, Median, Max, NumMissing for numeric, datetime, and duration; True/False counts for logical; category counts for categorical; size and class only for text and other types). For timetables, RowTimes are also summarized. With an output argument, returns a scalar struct with one field per variable (and the time dimension for timetables).

Example

T = table([1;2;3],[true;false;true],'VariableNames',{'x','flag'}); s = summary(T)

Differences from MATLAB: Only table and timetable inputs are supported; 'Statistics' and 'Detail' name-value options are not supported.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.