arche.rules.others module

arche.rules.others.compare_boolean_fields(source_df: pandas.core.frame.DataFrame, target_df: pandas.core.frame.DataFrame) → arche.rules.result.Result

Compare booleans distribution between two dataframes

Returns

A result containing dataframe with distributions and messages if differences are in thresholds

arche.rules.others.fields_to_compare(source_df: pandas.core.frame.DataFrame, target_df: pandas.core.frame.DataFrame) → bool
arche.rules.others.garbage_symbols(items: arche.readers.items.Items) → arche.rules.result.Result

Find unwanted symbols in np.object columns.

Returns

A result containing item keys per field which contained any trash symbol