Object Reference : Object View and Procedure Reference : Table
Insert additional columns in a table.
table_name.insertcol(col_loc) [num_cols]
where col_loc specifies the column location to insert the new columns. 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 insert into the table. If num_cols is not provided, the default is one.
tab1.insertcol(d) 2
inserts two new columns beginning at the “d” or fourth column.
For other row and columns operations, see Table::deleterow, Table::deletecol, 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.