Object Reference : Object View and Procedure Reference : Table
Removes columns from a table.
table_name.deletecol(col_loc) [num_cols]
where col_loc specifies the first column to be removed. The col_loc may either be the integer column number (e.g. “3”) or the column letter (e.g. “C”).
The num_cols specifies the number of columns to remove from the table. If num_cols is not provided, the default is one.
tab1.deletecol(d) 2
removes two columns beginning at the “d” or fourth column.
For other row and columns operations, see Table::deleterow, Table::insertcol, and Table::insertrow.
For additional discussion of table commands see “Working with Tables and Spreadsheets”.
See also “Table and Text Objects” for a discussion and examples of table formatting in EViews.