whylogs.core.column_profile#

Module Contents#

Classes#

Attributes#

whylogs.core.column_profile.logger#
class whylogs.core.column_profile.ColumnProfile(name: str, schema: whylogs.core.schema.ColumnSchema, cache_size: int)#

Bases: object

Parameters
add_metric(metric: whylogs.core.metrics.Metric) None#
Parameters

metric (whylogs.core.metrics.Metric) –

Return type

None

track(row: Dict[str, Any]) None#
Parameters

row (Dict[str, Any]) –

Return type

None

flush() None#

Force emptying the cache and update the internal metrics.

Return type

None

track_column(series: Any, identity_values: Optional[Any] = None) None#
Parameters
  • series (Any) –

  • identity_values (Optional[Any]) –

Return type

None

to_protobuf() whylogs.core.proto.ColumnMessage#
Return type

whylogs.core.proto.ColumnMessage

view() whylogs.core.view.ColumnProfileView#
Return type

whylogs.core.view.ColumnProfileView