rules/skrub/joiner-conflicting-keys.md

Joiner, AggJoiner, InterpolationJoiner, MultiAggJoiner, and fuzzy_join raise ValueError when the shared key argument (key, keys, or on) is passed together with per-table keys (main_key/aux_key, main_keys/aux_keys, or left_on/right_on).

diff
1-joined = skrub.fuzzy_join(left, right, on="city", left_on="city_name")
2+joined = skrub.fuzzy_join(left, right, left_on="city_name", right_on="city")

What the rule reports

Calls to skrub joiners and fuzzy_join that mix the single shared key parameter with separate left/right or main/aux key parameters.

How to fix it

Pass only key= / keys= / on= when both tables share the same column names, or pass the explicit pair (main_key= and aux_key=, main_keys= and aux_keys=, or left_on= and right_on=).