acidplyr.full_join¶
- acidplyr.full_join(x: DataFrame, y: DataFrame, by: str | list[str]) DataFrame¶
Full (outer) join: return all rows from both x and y.
- Parameters:
- Returns:
Union of rows from
xandy, withNaNin columns unique to the side that didn’t match.- Return type:
pd.DataFrame
Examples
>>> import pandas as pd >>> x = pd.DataFrame({"name": ["Mick", "John"]}) >>> y = pd.DataFrame({"name": ["John", "Keith"]}) >>> len(full_join(x, y, by="name")) 3