datopy._examples.extract_datamodel#
- extract_datamodel(
- obj,
- verbose: bool = False,
Construct a data model from a scraped data structure.
The constructed objects include dictionary elements, a json-style schema of (key, type)/(key, value) pairs, and a dataframe entry.
- Parameters:
obj (__type__) – __description__.
verbose (bool, default=False) – An option to enable/disable printing of outputs.
- Returns:
A dictionary containing the fields:
schema,json_schema,obj_serialized, andobj_normalized.- Return type: