%% Remove Variable
% Create a table and remove variables one at a time. You can specify variables by name or by position in the table.
% Read data from a spreadsheet into a table. Display the first three rows.

T1 = readtable('outages.csv');
head(T1,3)

%
% Remove the variable that is named Region.

T2 = removevars(T1,'Region');
head(T2,3)

%
% Remove the fourth variable from T2.

T3 = removevars(T2,4);
head(T3,3)

% Copyright 2012 The MathWorks, Inc.