Skip to content

Commit

Permalink
docs: add missing description for left join strategy (#1396)
Browse files Browse the repository at this point in the history
  • Loading branch information
LiamConnors authored Nov 17, 2024
1 parent 39cfb07 commit 68e9bbe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion narwhals/dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -1990,12 +1990,13 @@ def join(
r"""Join in SQL-like fashion.
Arguments:
other: Lazy DataFrame to join with.
other: DataFrame to join with.
on: Name(s) of the join columns in both DataFrames. If set, `left_on` and
`right_on` should be None.
how: Join strategy.
* *inner*: Returns rows that have matching values in both tables.
* *left*: Returns all rows from the left table, and the matched rows from the right table.
* *cross*: Returns the Cartesian product of rows from both tables.
* *semi*: Filter rows that have a match in the right table.
* *anti*: Filter rows that do not have a match in the right table.
Expand Down Expand Up @@ -3965,6 +3966,7 @@ def join(
how: Join strategy.
* *inner*: Returns rows that have matching values in both tables.
* *left*: Returns all rows from the left table, and the matched rows from the right table.
* *cross*: Returns the Cartesian product of rows from both tables.
* *semi*: Filter rows that have a match in the right table.
* *anti*: Filter rows that do not have a match in the right table.
Expand Down

0 comments on commit 68e9bbe

Please sign in to comment.