iode.Table.coefficients

property Table.coefficients: List[str]

Get the list of coefficients (scalars) associated with all cells of type ‘LEC’ of the table.

Returns:
list(str)

Examples

>>> from iode import SAMPLE_DATA_DIR
>>> from iode import variables, tables
>>> variables.load(f"{SAMPLE_DATA_DIR}/fun.var")
Loading .../fun.var
394 objects loaded
>>> tables.load(f"{SAMPLE_DATA_DIR}/fun.tbl")
Loading .../fun.tbl
46 objects loaded
>>> table = tables["ANAKNFF"]    
>>> table
DIVIS |                                  1 |
TITLE |                "Déterminants de la croissance de K"
----- | ------------------------------------------------------------------
CELL  |                                    |              "#s"
----- | ------------------------------------------------------------------
CELL  | "Croissance de K "                 |                      dln KNFF
CELL  | "Output gap "                      |    knff1*ln (QAFF_/(Q_F+Q_I))
CELL  | "Rentabilité "                     |          knf2*ln mavg(3,RENT)
CELL  | "Croissance anticipée de l'output" | 0.416*mavg(4,dln QAFF_)+0.023

nb lines: 8
nb columns: 2
language: 'ENGLISH'
gridx: 'MAJOR'
gridy: 'MAJOR'
graph_axis: 'VALUES'
graph_alignment: 'LEFT'

>>> table.coefficients
['knf2', 'knff1']