iode.TableCell.cell_type

property TableCell.cell_type: str

Type of the content of the cell. Possible value are STRING or LEC.

Examples

>>> from iode import SAMPLE_DATA_DIR
>>> from iode import tables, Table
>>> tables.load(f"{SAMPLE_DATA_DIR}/fun.tbl")
Loading .../fun.tbl
46 objects loaded
>>> table = tables["ANAPRIX"]
>>> table[4]
('"GAP_"', 'GAP_')
>>> # first cell
>>> table[4][0]
"GAP_"
>>> table[4][0].cell_type
'STRING'
>>> # second cell
>>> table[4][1]
GAP_
>>> table[4][1].cell_type
'LEC'