Skip to content

Commit

Permalink
docs(python): Reword "how" param docstring entry for 'semi' and 'anti…
Browse files Browse the repository at this point in the history
…' `join` types for clarity (#17843)

Co-authored-by: implicit-apparatus <>
  • Loading branch information
implicit-apparatus authored Jul 24, 2024
1 parent 954538e commit c537ba3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions py-polars/polars/dataframe/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -6681,13 +6681,13 @@ def join(
Returns all rows from the right table, and the matched rows from the
left table
* *full*
Returns all rows when there is a match in either left or right table
Returns all rows when there is a match in either left or right table
* *cross*
Returns the Cartesian product of rows from both tables
Returns the Cartesian product of rows from both tables
* *semi*
Filter rows that have a match in the right table.
Returns rows from the left table that have a match in the right table.
* *anti*
Filter rows that do not have a match in the right table.
Returns rows from the left table that have no match in the right table.
.. note::
A left join preserves the row order of the left DataFrame.
Expand Down
8 changes: 4 additions & 4 deletions py-polars/polars/lazyframe/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -4074,13 +4074,13 @@ def join(
Returns all rows from the right table, and the matched rows from the
left table
* *full*
Returns all rows when there is a match in either left or right table
Returns all rows when there is a match in either left or right table
* *cross*
Returns the Cartesian product of rows from both tables
Returns the Cartesian product of rows from both tables
* *semi*
Filter rows that have a match in the right table.
Returns rows from the left table that have a match in the right table.
* *anti*
Filter rows that not have a match in the right table.
Returns rows from the left table that have no match in the right table.
.. note::
A left join preserves the row order of the left DataFrame.
Expand Down

0 comments on commit c537ba3

Please sign in to comment.