Order Column Profile

Index profile analysis for individual col within structured profiling.

class dataprofiler.profilers.order_column_profile.OrderColumn(name: str | None, options: OrderOptions = None)

Bases: dataprofiler.profilers.base_column_profilers.BaseColumnProfiler

Index column profile subclass of BaseColumnProfiler.

Represents a column in the dataset which is an index column.

Initialize column base properties and self.

Parameters
  • name (String) – Name of the data

  • options (OrderOptions) – Options for the Order column

type = 'order'
report(remove_disabled_flag: bool = False) dict

Private abstract method for returning report.

Parameters

remove_disabled_flag (boolean) – flag to determine if disabled options should be excluded in the report.

property profile: dict

Property for profile. Returns the profile of the column.

Returns

diff(other_profile: dataprofiler.profilers.order_column_profile.OrderColumn, options: Optional[dict] = None) dict

Generate the differences between the orders of two OrderColumns.

Returns

Dict containing the differences between orders in their

appropriate output formats :rtype: dict

update(df_series: pandas.core.series.Series) dataprofiler.profilers.order_column_profile.OrderColumn

Update the column profile.

Parameters

df_series (pandas.core.series.Series) – df series

Returns

updated OrderColumn

Return type

OrderColumn

col_type = None
name: str | None
sample_size: int
metadata: dict
times: dict
thread_safe: bool