aito.schema.DataSeriesProperties¶
-
class
aito.schema.
DataSeriesProperties
(pandas_dtype: str, min_value, max_value)¶ Bases:
object
DataSeriesProperties is an utility class that is used to inspect pandas data series properties and infer the Aito data type based on it. It checks the maximum and minimum value and it will convert integers into string, if Aito does support the numeric range.
Methods
pandas_dtype_to_aito_dtype
(pandas_dtype)Converts a pandas data type into Aito data type
Provides the AitoDataTypeSchema that is inferred for this data series
Attributes
MAX_INT_VALUE
MIN_INT_VALUE
-
classmethod
pandas_dtype_to_aito_dtype
(pandas_dtype) → str¶ Converts a pandas data type into Aito data type
- Return type
str
-
to_data_type_schema
() → aito.schema.AitoDataTypeSchema¶ Provides the AitoDataTypeSchema that is inferred for this data series
-
classmethod