arche.rules.others¶
Module Contents¶
-
arche.rules.others.compare_boolean_fields(source_df: pd.DataFrame, target_df: pd.DataFrame, err_thr: float = 0.1, warn_thr: float = 0.05) → 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: pd.DataFrame, target_df: pd.DataFrame) → bool¶
-
arche.rules.others.garbage_symbols(df: pd.DataFrame) → Result¶ Find unwanted symbols in np.object columns.
- Returns
A result containing item keys per field which contained any trash symbol