archaeo_super_prompt.dataset.thesauri
source package archaeo_super_prompt.dataset.thesauri
Code for loading thesaurus sets from data files.
Classes
-
ComuneProvincia — Exhaustive data about a Comune.
-
Provincia — Exhaustive data about a Province.
Functions
-
load_comune — Load the thesarus values for the "Comune" field.
-
load_comune_with_provincie — Load the set of provincie thesaurus from an external reference table.
source load_comune() → list[tuple[int, str]]
Load the thesarus values for the "Comune" field.
source load_comune_with_provincie() → tuple[DataFrame[ComuneData], DataFrame[ProvinciaData]]
Load the set of provincie thesaurus from an external reference table.
source class ComuneProvincia()
Bases : NamedTuple
Exhaustive data about a Comune.
Bases : NamedTuple
Exhaustive data about a Province.