ColumnStatistics

class pydelfini.delfini_core.models.column_statistics.ColumnStatistics(distinct_count, non_null_count, null_count, boolean=Unset, categorical=Unset, is_distinct_estimated=False, numeric=Unset, temporal=Unset, text=Unset)[source]

Bases: object

ColumnStatistics model

Parameters:
distinct_count
Type:

int

non_null_count
Type:

int

null_count
Type:

int

boolean
Type:

Union[Unset, MetricsBoolean]

categorical
Type:

Union[Unset, MetricsCategorical]

is_distinct_estimated

Default: False.

Type:

Union[Unset, bool]

numeric
Type:

Union[Unset, MetricsNumeric]

temporal
Type:

Union[Unset, MetricsTemporal]

text
Type:

Union[Unset, MetricsText]

Attributes

distinct_count

non_null_count

null_count

boolean

categorical

is_distinct_estimated

numeric

temporal

text

classmethod from_dict(src_dict)[source]

Create an instance of ColumnStatistics from a dict

Parameters:

src_dict (Dict[str, Any])

Return type:

T

to_dict()[source]

Convert to a dict

Return type:

Dict[str, Any]