Skip to content

tdfs4ds.feature_props.render

tdfs4ds.feature_props.render

The one text of a feature's declared properties (docs, agent, app). Pure, fixed sentences.

_NULL_EN module-attribute

_NULL_EN = {'zero': 'NULL means zero (no event).', 'not_applicable': 'NULL means not applicable.', 'unknown': 'NULL means unknown.'}

_NULL_FR module-attribute

_NULL_FR = {'zero': 'NULL signifie zéro (aucun événement).', 'not_applicable': 'NULL signifie non applicable.', 'unknown': 'NULL signifie inconnu.'}

MAX_LISTED module-attribute

MAX_LISTED = 20

_blank

_blank(v) -> bool

_flag

_flag(v)

render_properties_text

render_properties_text(prop_row, lang: str = 'en') -> str

Fixed sentences for one row of feature_properties() (a mapping or a Series), joined by a space; '' when nothing is declared. lang: 'en' or 'fr'.