iode.Table.divider

property Table.divider: TableLine

Returns the divider line of the table. The value of each cell of the divider line is applied to the whole corresponding column as a global divider value.

Examples

>>> from iode import SAMPLE_DATA_DIR
>>> from iode import tables
>>> tables.load(f"{SAMPLE_DATA_DIR}/fun.tbl")
Loading .../fun.tbl
46 objects loaded
>>> table = tables["YDH"]
>>> table
DIVIS |                                                          1 |                                    PC_*40.34
TITLE |                        "Tableau B-3. Revenu disponible des ménages à prix constant"
----- | ---------------------------------------------------------------------------------------------------------
CELL  |                                                            |                     "#S"
CELL  | "Revenus primaires"                                        |                            WBU_+YN+GOSH_+IDH
CELL  | "   Masse salariale totale"                                |                                         WBU_
CELL  | "   Revenu net du travail en provenance du Reste du monde" |                                           YN
CELL  | "   Surplus brut d'exploitation"                           |                                        GOSH_
CELL  | "   Revenu net de la propriété"                            |                                          IDH
CELL  | "Cotisations sociales et impôts"                           |                                  SSF+SSH+DTH
CELL  | "   Cotisations patronales"                                |                                          SSF
CELL  | "   Cotisations personnelles"                              |                                          SSH
CELL  | "IPP"                                                      |                                          DTH
CELL  | "Prestations sociales "                                    |                                     SBH+OCUH
CELL  | "   Sécurité sociale"                                      |                                          SBH
CELL  | "   Diverses prestations"                                  |                                         OCUH
CELL  | "Total"                                                    | (WBU_+YN+GOSH_+IDH)-(SSF+SSH+DTH)+(SBH+OCUH)
----- | ---------------------------------------------------------------------------------------------------------
FILES |
DATE  |

nb lines: 19
nb columns: 2
language: 'ENGLISH'
gridx: 'MAJOR'
gridy: 'MAJOR'
graph_axis: 'VALUES'
graph_alignment: 'LEFT'
>>> table.divider
('1', 'PC_*40.34')
>>> table.divider = ["1", "40.34"]
>>> table.divider
('1', '40.34')