Skip to content

Commit b3648c4

Browse files
vvaidyVijay Vaidyanathan
and
Vijay Vaidyanathan
authored
DOC: fix formatting of the validate keyword in DataFrame join docstring (#54147)
Co-authored-by: Vijay Vaidyanathan <[email protected]>
1 parent a40464a commit b3648c4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pandas/core/frame.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10086,11 +10086,13 @@ def join(
1008610086
the order of the join key depends on the join type (how keyword).
1008710087
validate : str, optional
1008810088
If specified, checks if join is of specified type.
10089+
1008910090
* "one_to_one" or "1:1": check if join keys are unique in both left
10090-
and right datasets.
10091+
and right datasets.
1009110092
* "one_to_many" or "1:m": check if join keys are unique in left dataset.
1009210093
* "many_to_one" or "m:1": check if join keys are unique in right dataset.
1009310094
* "many_to_many" or "m:m": allowed, but does not result in checks.
10095+
1009410096
.. versionadded:: 1.5.0
1009510097
1009610098
Returns

0 commit comments

Comments
 (0)