synthesized3.meta.metas package#
- class synthesized3.meta.metas.BooleanMeta#
Bases:
Meta
Meta class to store information about columns which are to be treated as containing booleans
- categories: List[Any]#
- frequencies: List[float]#
- nature: Literal[Nature.CATEGORICAL]#
- missing_value_meta: MissingValueMeta | None#
- classmethod freqs_sum_to_one(values)#
- name: str#
- observed_dtype: ColumnType#
- class synthesized3.meta.metas.CategoricalMeta#
Bases:
Meta
Meta class to store information about columns which are to be treated as containing categories
- categories: List[Any]#
- frequencies: List[float]#
- nature: Literal[Nature.CATEGORICAL]#
- missing_value_meta: MissingValueMeta | None#
- classmethod freqs_sum_to_one(values)#
- classmethod len_freqs_categs_equal(values)#
- property num_categories#
- name: str#
- observed_dtype: ColumnType#
- class synthesized3.meta.metas.DatetimeMeta#
Bases:
Meta
Metaclass to store information about columns which are to be treated as containing datetimes. For now, restricted to be continuous in nature. The unix_meta property can be an instance of DoubleMeta or LongMeta depending on the required accuracy of the unix timestamp
- unix_meta: DoubleMeta#
- hour_meta: CategoricalMeta | ConstantMeta#
- dow_meta: CategoricalMeta | ConstantMeta#
- day_meta: CategoricalMeta | ConstantMeta#
- month_meta: CategoricalMeta | ConstantMeta#
- year_meta: CategoricalMeta | ConstantMeta#
- missing_value_meta: MissingValueMeta | None#
- nature: Literal[Nature.CONTINUOUS]#
- classmethod check_categories_are_within_allowed_limits(values)#
- get_sub_metas()#
Recursively get the sub metas.
- name: str#
- observed_dtype: ColumnType#
- class synthesized3.meta.metas.DoubleMeta#
Bases:
Meta
Meta class to store information about columns which are to be treated as containing floats
- quantiles: List[float]#
- missing_value_meta: MissingValueMeta | None#
- nature: Literal[Nature.CONTINUOUS]#
- name: str#
- observed_dtype: ColumnType#
- class synthesized3.meta.metas.FloatMeta#
Bases:
Meta
Meta class to store information about columns which are to be treated as containing floats
- quantiles: List[float]#
- nature: Literal[Nature.CONTINUOUS]#
- missing_value_meta: MissingValueMeta | None#
- name: str#
- observed_dtype: ColumnType#
- class synthesized3.meta.metas.IntegerMeta#
Bases:
Meta
Meta class to store information about columns which are to be treated as containing integers
- quantiles: List[float]#
- nature: Literal[Nature.CONTINUOUS]#
- missing_value_meta: MissingValueMeta | None#
- name: str#
- observed_dtype: ColumnType#
- class synthesized3.meta.metas.LongMeta#
Bases:
Meta
Meta class to store information about columns which are to be treated as containing integers
- quantiles: List[float]#
- missing_value_meta: MissingValueMeta | None#
- nature: Literal[Nature.CONTINUOUS]#
- name: str#
- observed_dtype: ColumnType#
Submodules#
synthesized3.meta.metas.boolean_meta module#
- class synthesized3.meta.metas.boolean_meta.BooleanMeta#
Bases:
Meta
Meta class to store information about columns which are to be treated as containing booleans
- categories: List[Any]#
- frequencies: List[float]#
- nature: Literal[Nature.CATEGORICAL]#
- missing_value_meta: MissingValueMeta | None#
- classmethod freqs_sum_to_one(values)#
- name: str#
- observed_dtype: ColumnType#
synthesized3.meta.metas.boolean_meta_test module#
synthesized3.meta.metas.categorical_meta module#
- class synthesized3.meta.metas.categorical_meta.CategoricalMeta#
Bases:
Meta
Meta class to store information about columns which are to be treated as containing categories
- categories: List[Any]#
- frequencies: List[float]#
- nature: Literal[Nature.CATEGORICAL]#
- missing_value_meta: MissingValueMeta | None#
- classmethod freqs_sum_to_one(values)#
- classmethod len_freqs_categs_equal(values)#
- property num_categories#
- name: str#
- observed_dtype: ColumnType#
synthesized3.meta.metas.categorical_meta_test module#
synthesized3.meta.metas.constant_meta module#
- class synthesized3.meta.metas.constant_meta.ConstantMeta#
Bases:
Meta
Meta class to store information about columns which contain a single non-missing value
- categories: List[Any]#
- nature: Literal[Nature.CATEGORICAL]#
- missing_value_meta: MissingValueMeta | None#
- name: str#
- observed_dtype: ColumnType#
synthesized3.meta.metas.constant_meta_test module#
synthesized3.meta.metas.datetime_meta module#
- class synthesized3.meta.metas.datetime_meta.DatetimeMeta#
Bases:
Meta
Metaclass to store information about columns which are to be treated as containing datetimes. For now, restricted to be continuous in nature. The unix_meta property can be an instance of DoubleMeta or LongMeta depending on the required accuracy of the unix timestamp
- unix_meta: DoubleMeta#
- hour_meta: CategoricalMeta | ConstantMeta#
- dow_meta: CategoricalMeta | ConstantMeta#
- day_meta: CategoricalMeta | ConstantMeta#
- month_meta: CategoricalMeta | ConstantMeta#
- year_meta: CategoricalMeta | ConstantMeta#
- missing_value_meta: MissingValueMeta | None#
- nature: Literal[Nature.CONTINUOUS]#
- classmethod check_categories_are_within_allowed_limits(values)#
- get_sub_metas()#
Recursively get the sub metas.
- name: str#
- observed_dtype: ColumnType#
synthesized3.meta.metas.datetime_meta_test module#
synthesized3.meta.metas.double_meta module#
- class synthesized3.meta.metas.double_meta.DoubleMeta#
Bases:
Meta
Meta class to store information about columns which are to be treated as containing floats
- quantiles: List[float]#
- missing_value_meta: MissingValueMeta | None#
- nature: Literal[Nature.CONTINUOUS]#
- name: str#
- observed_dtype: ColumnType#
synthesized3.meta.metas.double_meta_test module#
synthesized3.meta.metas.float_meta module#
synthesized3.meta.metas.float_meta_test module#
synthesized3.meta.metas.integer_meta module#
- class synthesized3.meta.metas.integer_meta.IntegerMeta#
Bases:
Meta
Meta class to store information about columns which are to be treated as containing integers
- quantiles: List[float]#
- nature: Literal[Nature.CONTINUOUS]#
- missing_value_meta: MissingValueMeta | None#
- name: str#
- observed_dtype: ColumnType#