ENH: more joins for DataFrame.update · Issue #21855 · pandas-dev/pandas (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

@h-vetinari

Description

@h-vetinari

This should be non-controversial, as even the source code for DataFrame.update literally says (https://github.com/pandas-dev/pandas/blob/v0.23.3/pandas/core/frame.py#L5054):
# TODO: Support other joins

I tried to look if a previous issue for this exists, but did not find one.

Some thoughts that arise:

join=['left', 'left']  # same as 'left' (and so on for 'inner'|'outer'|'right')  
join=['left', 'inner'] | ['left', 'outer'] etc. (for all other 12 combinations)