Set the cell prefix string for the specified table cells.
Syntax
table_name.setprefix(cell_range) prefix
where prefix is the prefix you wish to assign to the cells. To remove a prefix from a cell, leave prefix empty.
The
cell_range defines the cells to be modified. See
Table::setformat for the syntax for
cell_range specifications.
Examples
tab1.setprefix(A1) $
prepends the dollar sign ($) to the cell A1.
tab1.setprefix(A1)
removes the prefix from cell A1.
Cross-references
See
Table::setwidth,
Table::setindent and
Table::setjust for details on setting table widths, indentation and justification.
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.