%% Reorient Timetable Rows
% Load a timetable and display it.

load bostonTT
Boston

%
% Reorient it so that its rows become variables in the output. The rows2vars function turns the row times into names, but modifies them so that they are valid variable names. Also, the output argument returned by rows2vars is always a table, even when the input argument is a timetable.

T = rows2vars(Boston)

% Copyright 2012-2019 The MathWorks, Inc.