h1st.schema.schema_inferrer module¶
-
class
h1st.schema.schema_inferrer.
SchemaInferrer
[source]¶ Bases:
object
-
infer_schema
(data)[source]¶ Infer a schema for a given data input. The schema can be used to test with schema validator. This function currently supports DataFrame, Numpy, Dictionary, List and basic python types.:
data = pandas.DataFrame(...) schema = infer_schema(data)
This function returns None if it can not infer the schema.
-