iode.ComputedTable.lines

property ComputedTable.lines: List[str]

List of line names of the computed table.

Examples

>>> from iode import SAMPLE_DATA_DIR
>>> from iode import Table, tables, variables
>>> tables.load(f"{SAMPLE_DATA_DIR}/fun.tbl")
Loading .../fun.tbl
46 objects loaded 
>>> variables.load(f"{SAMPLE_DATA_DIR}/fun.var")
Loading .../fun.var
394 objects loaded
>>> # simple time series (current workspace) - 6 observations
>>> computed_table = tables["C8_1"].compute("2000:6")
>>> computed_table.nb_lines
4
>>> computed_table.lines
['Output potentiel', 'Stock de capital', 'Intensité de capital', 'Productivité totale des facteurs']
>>> computed_table
   line title \ period[file]     |    00   |    01   |    02   |    03   |    04   |    05
---------------------------------------------------------------------------------------------
Output potentiel                 | 5495.21 | 5627.86 | 5748.78 | 5857.95 | 5966.20 | 6103.63
Stock de capital                 | 8083.55 | 8359.89 | 8647.94 | 8910.34 | 9175.81 | 9468.89
Intensité de capital             |    0.50 |    0.49 |    0.48 |    0.46 |    0.45 |    0.43
Productivité totale des facteurs |    0.99 |    1.00 |    1.01 |    1.02 |    1.03 |    1.04