arche.rules.price module¶
-
arche.rules.price.
compare_names_for_same_urls
(source_df: pandas.core.frame.DataFrame, target_df: pandas.core.frame.DataFrame, tagged_fields: Dict[str, List[str]])¶ For each pair of items that have the same product_url_field tagged field, compare name_field field
-
arche.rules.price.
compare_prices_for_same_names
(source_df: pandas.core.frame.DataFrame, target_df: pandas.core.frame.DataFrame, tagged_fields: Dict[str, List[str]])¶
-
arche.rules.price.
compare_prices_for_same_urls
(source_df: pandas.core.frame.DataFrame, target_df: pandas.core.frame.DataFrame, tagged_fields: Dict[str, List[str]])¶ For each pair of items that have the same product_url_field tagged field, compare product_price_field field
- Returns
A result containing pairs of items with same product_url_field from source_df and target_df which product_price_field differ, missing and new product_url_field tagged fields.
-
arche.rules.price.
compare_was_now
(df: pandas.core.frame.DataFrame, tagged_fields: Dict[str, List[str]])¶ Compare price_was and price_now tagged fields